Closed LemonCaik closed 5 years ago
Would it be possible for you to check if these export changes fix the menu ui issue?
Here's some example code for you to try it with https://github.com/d0p3t/fivem-js/pull/3
You might have to change imports in that example because this uses the old style, but the code itself must work.
It's working with the example code
https://i.gyazo.com/8c0b3ef4ffc5be8ca67b3d24e56a1cbc.mp4
However, if you go into a submenu the submenu cannot be closed. This happens in both 1.1.1 and this PR. Pressing 'm' while in a submenu simply reopens the main menu
Thanks. I will push this to npm in an hour or two
This should fix the import errors on 1.2.0. Should note that I haven't tested NativeUI after making these changes