-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
[NumberField] Prevent virtual cursor overlapping native one #1491
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: atomiks <[email protected]>
Can you share a screen-recording of this? I can't reproduce it, it was make it clear what's the PR about. |
@mnajdova it's hard to see in the screen recording (I tried) because the flicker of the two overlapping cursors is so quick. Essentially, you briefly saw two simultaneous cursors (native and our fake HTML one - can repro old on live As long as you see it looks good now, that's fine |
Signed-off-by: atomiks <[email protected]>
Signed-off-by: atomiks <[email protected]>
Signed-off-by: atomiks <[email protected]>
The virtual cursor currently can overlap the native one since the state can be set before the pointer lock promise (previously had wrong types in TS itself - it's now correct) finishes. Removed the flicker timeout as a result