-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable prop not working #137
Comments
Thanks for the issue! I don’t believe this prop is implemented, and I don’t think it ever was. I can see about adding this but it feels a bit unlikely. Perhaps in Zeego v3 we could consider adding this |
i made a hacky workaround for this by wrapping the menu in a <View
style={{
pointerEvents: isDisabled ? "none" : "auto",
}}
>
<DropdownMenu.Root>
<DropdownMenu.Trigger>
<Pressable />
</DropdownMenu.Trigger>
...
</DropdownMenu.Root>
</View> |
wow, nice idea haha :D |
Thanks for this great library.
Currently i am having problem with disable control. even though set to true it can still be interacted with long press. error occurs on ios but i have not tried android
I don't even see
disable
prop in the docs. did it exist before or was it newly added?version
The text was updated successfully, but these errors were encountered: