-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
dropselect not working properly with touchscreen #342
Comments
I've merged to master as that PR has grown a lot. Let me know if there's any other issue you've encountered. I'm planning to release the new v4.0.7 soon. |
I updated the library to the repo latest version but I'm still having this issue. Using the same example above, only changing
same error
I can try to log all pygame events if you think it will help to track the bug. |
Hi, I'll test this issue by emulating that deletion. Thanks also for providing such gifs |
I was able to reproduce the example; #348 fixes this issue. Let me know 😄 |
Working now, Thanks!! The scrollbar in the dropselect (merging #349 too) still doesn't work. |
Environment information
Describe your environment information, such as:
Describe the bug
with a touchscreen (having
touchscreen=True
andmouse_enabled=False
in the initialization)a) I can't scroll the option of a
dropselect
.b) there is an exception when I touch the
dropselect
(either in the label or the drop area) when the dropselect has one or two item. With three or more items it doesn't raise the exception.When there are one or two items, it fails to enter the condition in this line
pygame-menu/pygame_menu/widgets/widget/dropselect.py
Line 1159 in 3d8ef71
I think because of the self.active
Doesn't happen if I'm working with the mouse, because with the mouse
.is_scrolling()
is never called.To Reproduce
The text was updated successfully, but these errors were encountered: