You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a flatlist, and each item on the list has a button that need to pop up a menu to do somethings...
so how should be the logic behind this, i mean i can't set the
component somehow...
What the problem is?
Well actually its not working correctly, for example if i click to another item's button to pop its menu without closing previous one, its bugging...
On the first 2 clicks its working fine, i mean, im clicking to item 1 for example, it shows the menu and if go and click to item 6 it closes to first one and toggles the 6th one, but if i go and click to another item nothing happens, its waiting to click and close the previous item which is 6th, then pops the new item...
Hello,
i have a flatlist, and each item on the list has a button that need to pop up a menu to do somethings...
so how should be the logic behind this, i mean i can't set the
component somehow...What the problem is?
Well actually its not working correctly, for example if i click to another item's button to pop its menu without closing previous one, its bugging...
On the first 2 clicks its working fine, i mean, im clicking to item 1 for example, it shows the menu and if go and click to item 6 it closes to first one and toggles the 6th one, but if i go and click to another item nothing happens, its waiting to click and close the previous item which is 6th, then pops the new item...
Here is my component:
The text was updated successfully, but these errors were encountered: