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

Website Registers Clicks Lower Than Actual on iPad Safari #997

Open
qappell opened this issue Dec 13, 2024 · 0 comments
Open

Website Registers Clicks Lower Than Actual on iPad Safari #997

qappell opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@qappell
Copy link

qappell commented Dec 13, 2024

bug description

When the user clicks on the screen, the click will be registered lower than where the finger actually clicks (e.g. if B is below A and I click on A, the website will think I clicked B). I have discovered two conditions that allow for this behavior to arise: by using the tab bar or using the keyboard. The issue only triggers when the user clicks a menu button on the sidebar and then when the page looks like this after clicking the button:
IMG_1762
...but not like this where the entire viewport is filled (and clicking on the buttons works fine):
IMG_1761
IMG_1760

reproduction steps

First, go to cobalt.tools on an iPad with Safari and have the separate tab style enabled in Safari's settings (zoom level of webpage does not matter)

Tab bar method

  1. Swipe up to "minimize" the tab bar
  2. Click it to drop the tab bar back down
  3. Click to a different menu on Cobalt's sidebar once and then twice. The first click registers correctly, but then all clicks after will be shifted down.

Keyboard method

  1. Click on the input box to bring up the iPad's on-screen keyboard
  2. Hide the keyboard by either pressing the button on the keyboard or clicking on a blank area of the webpage.

(Very interestingly, you can optionally refresh the page once and continue with this last step.) Finally, click one of the menu buttons on the left sidebar.

screenshots

Video showing issue (sorry that I recorded with my webcam)
https://drive.google.com/file/d/1ATw-ddW2ckW3yhPsZ59q2HPs1zX2qL6M/view

links

No response

platform information

Safari 18.1.1 on iPadOS 18 (9th gen iPad)

additional context

I can do further testing and answer any questions (especially if you don't have an iPad that you can reproduce this on).

@qappell qappell added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant