Skip to content
This repository has been archived by the owner on Apr 4, 2021. It is now read-only.

Closing Menus #3

Open
parpMoretti opened this issue Jul 10, 2019 · 6 comments
Open

Closing Menus #3

parpMoretti opened this issue Jul 10, 2019 · 6 comments

Comments

@parpMoretti
Copy link

When I use this with a menu handler, I close the menu and then re-create it server side, however it's duplicating the events when pressing Enter on a menu item.

Steps -> Create menu server side with TP points

  • Select one, hit Enter (Teleports once)
  • Do /tp to create a new menu with the TP points
  • Select a menu item, teleports twice.
@parpMoretti
Copy link
Author

@Radeoxx
Copy link

Radeoxx commented Jul 26, 2019

Same here, the menu duplicates on each 'reconnect' on the console. Also, when selecting an item, it triggers twice for me.

@parpMoretti
Copy link
Author

I noticed my code on other clients had a MenuPool item, which I think was added to solve this but I can't see it here.

@parpMoretti
Copy link
Author

Any updates on this? I'm not sure about MenuPool's

@datWeazel
Copy link
Owner

As you can see I didn't update NativeUI in a while. So no, no update on this. But feel free to implement it yourself and create a pull request. :)

@datWeazel
Copy link
Owner

It's been a while but I just rebased my project on a more up to date codebase. Would be awesome if you could recheck your issue and let me know if the problem still exists.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants