Skip to content
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

iOS menu tap does not seem to work #637

Closed
OkanArikan opened this issue Mar 5, 2022 · 2 comments
Closed

iOS menu tap does not seem to work #637

OkanArikan opened this issue Mar 5, 2022 · 2 comments

Comments

@OkanArikan
Copy link

While running imgui-sapp sample (fips config sapp-metal-ios-xcode-debug), I see two issues on iPhone 12:

  1. The initial click and drag is using incorrect initial position. When you touch, the window jumps. Seems related to DPI?
  2. If somehow, you manage to get the Imgui demo window into view, you can tap on the menu bar to open the menus, but tapping on a menu item does not seem to take affect. It does close the menu however, so something right is going on.
@floooh
Copy link
Owner

floooh commented Mar 6, 2022

Hmm this might be an issue with the new evented input code in Dear ImGui, which has some issues for touch input:

https://twitter.com/ocornut/status/1491069840035135489

PS better link to an earlier tweet in the thread: https://twitter.com/ocornut/status/1491014682064601089

@floooh
Copy link
Owner

floooh commented Dec 15, 2022

I just merged a PR which should fix the issue (only tested on the WASM samples webpage on my Android device, but it should generally fix touch input). See: #760 and #759

@floooh floooh closed this as completed Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants