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

Microlink Hover improvements #267

Open
Kikobeats opened this issue Nov 25, 2021 · 0 comments
Open

Microlink Hover improvements #267

Kikobeats opened this issue Nov 25, 2021 · 0 comments

Comments

@Kikobeats
Copy link
Member

Kikobeats commented Nov 25, 2021

The Microlink Hover package is a decorator on top of Microlink SDK for showing links when the user hover to an HTML element (normally a link).

Demos

Improvements

The popup effect is done via CSS. Although it's a lightweight solution, there is a flick if you keep the mouse in the gap between the link and the popup box.

CleanShot.2021-11-25.at.17.01.14.mp4

Also, part of the problem with the current implementation is the popup is covering the content, making the interaction a bit tedious.

Something worth it to explore could be to show the preview next to the cursor, so you don't lose the content context.

CleanShot.2021-11-25.at.17.05.16.mp4

(related source code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant