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 button in note rendering in safari #46

Merged

Conversation

haecheonlee
Copy link
Contributor

Steps to reproduce

  1. Open Safari
  2. Click Try it yourself
  3. Add a note
  4. Hover a note

Expected
It should render the button on the right position

Actual
It renders the button on the different position

Describe your changes

In Safari, it renders html inside <foreignobject>. Instead of using the position set to absolute, it is wrapped by inside a flexbox. As well, the button's opacity moves to its bakground-color as an alpha value, because transform is not applied to any element with opacity inside <foreignobject>. It's in discussion here

Notes

This fixes one of issue described in #45

Copy link

vercel bot commented Apr 13, 2024

@haecheonlee is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@1ilit 1ilit left a comment

Choose a reason for hiding this comment

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

Thank you!

Copy link

vercel bot commented Apr 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drawdb ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 14, 2024 7:12am

@1ilit 1ilit merged commit 25e127e into drawdb-io:main Apr 14, 2024
3 of 4 checks passed
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.

2 participants