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

Correct mouse position even when scaling the container using CSS #1678

Merged
merged 2 commits into from
May 6, 2024

Conversation

xiaoiver
Copy link
Contributor

@xiaoiver xiaoiver commented May 6, 2024

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / Document optimization
  • TypeScript definition update
  • Refactoring
  • Performance improvement
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

#1677

offsetX/Y is unavailable in TouchEvent and shadow DOM.

💡 Background and solution

supportsCSSTransform is enabled by default, so you don't need to set it manually.

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@xiaoiver xiaoiver merged commit 3652146 into release May 6, 2024
3 checks passed
@xiaoiver xiaoiver deleted the fix-1677 branch May 6, 2024 08:25
xiaoiver added a commit that referenced this pull request May 6, 2024
* Correct mouse position even when scaling the container using CSS (#1678)

* fix: calculate scale when css transform enabled #1677

* chore: commit changeset

* chore(release): bump version (#1679)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

1 participant