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

feat(page): safe triangle for whenHover API #4965

Merged
merged 15 commits into from
Oct 13, 2023
Merged

Conversation

lawvs
Copy link
Member

@lawvs lawvs commented Oct 8, 2023

Implements the safe triangle feature that was mentioned in #4689

It is worth noting that this new feature has almost no significance for blocksuite now, so this feature is closed by default. It can be enabled by adding safeTriangle options in the whenHover API.

Screen.Recording.2023-10-08.at.00.19.57.mp4

Additionally, this PR added a virtual safe bridge between the reference element and the floating element. This feature is enabled by default and can be disabled by addsafeBridge options in the whenHover API.

Screen.Recording.2023-10-12.at.02.39.13.mov

References

@vercel
Copy link

vercel bot commented Oct 8, 2023

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

Name Status Preview Comments Updated (UTC)
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 13, 2023 5:42am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
blocksuite-docs ⬜️ Ignored (Inspect) Visit Preview Oct 13, 2023 5:42am

@Flrande Flrande merged commit aed1e06 into master Oct 13, 2023
18 checks passed
@Flrande Flrande deleted the feat/safe-triangle branch October 13, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notable Major improvement worth emphasizing
Projects
Archived in project
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants