The Navbar also changes its colour from App to App which is inconsistent, Sometimes its Black,Transparent and off-white,which leaves no authenticity when someone is using a Dark Themed keyboard.There are some users who like on screen navbar and some don’t. Before OnePlus do something we decided to do it as many users are not happy with the on-screen Navigation Bar (Navbar), we have solution for this.Now users can easily Remove Navbar from OnePlus 5T but it need root access.We like to thank, nxss4, Senior Member for this workaround. Before we start, all must have their phones Rooted with TWRP installed and bootloader Unlocked. If not, visit our previous Links mentioned below-

Downloads

By now, all must have done the entire for the procedure.

Steps To Remove Navbar from OnePlus 5T(Root required)

Open the Build.Prop app. Find #qemu.hw.mainkeys=1 and replace it with hw.mainkeys=1. Now, install Xposed from Magisk and reboot your 5T, then install Gravity Box for Nougat from After installing the Box, Open it ⇛ navigation bar tweaks ⇛ master switch ⇛ turn on ⇛ navigation bar to turn off. Reboot OnePlus 5T again. Go to Settings ⇛ Buttons ⇛ Disable on-screen Navbar. Reboot again (I know it’s Annoying.). Till now, you must have no navigation bar.

Even If it did not worked ,try above steps and Let us know if problem still remains. Source: Xda

How to Remove Navbar from OnePlus 5T Root required  - 76