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

Fix touch issue when dragging a widget with SVG icon #688

Merged
merged 5 commits into from
Jan 24, 2024
Merged

Conversation

GerardasB
Copy link
Collaborator

@GerardasB GerardasB commented Jan 23, 2024

Changes

This PR fixes an issue with incorrect event handling of widget tabs when SVG icon is targeted by a touch device.

Fixes #687

Testing

Tested manually via a standalone test-app.

@GerardasB GerardasB requested a review from a team as a code owner January 23, 2024 14:36
@GerardasB
Copy link
Collaborator Author

@Mergifyio backport release/4.8.x

@GerardasB GerardasB enabled auto-merge (squash) January 23, 2024 14:38
Copy link
Contributor

mergify bot commented Jan 23, 2024

backport release/4.8.x

✅ Backports have been created

Copy link
Contributor

@raplemie raplemie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@GerardasB GerardasB merged commit 2fad12b into master Jan 24, 2024
18 checks passed
@GerardasB GerardasB deleted the touch-fix branch January 24, 2024 09:28
mergify bot pushed a commit that referenced this pull request Jan 24, 2024
* Use svg icons for some of the widget tabs.

* Fix usePointerCaptor to attach to SVGElement correctly.

* rush change

(cherry picked from commit 2fad12b)
GerardasB added a commit that referenced this pull request Jan 24, 2024
* Use svg icons for some of the widget tabs.

* Fix usePointerCaptor to attach to SVGElement correctly.

* rush change

(cherry picked from commit 2fad12b)

Co-authored-by: GerardasB <[email protected]>
@muthubentley
Copy link

@GerardasB
Is 4.8.x released? can you please confirm which package ?

@GerardasB
Copy link
Collaborator Author

@GerardasB Is 4.8.x released? can you please confirm which package ?

Yes, a fix for this issue is now available at https://github.com/iTwin/appui/releases/tag/release%2F4.8.2

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

Successfully merging this pull request may close these issues.

Widget disappears while dragging . Occurs in iPad, Chrome tablet mode
3 participants