github-issue-reactions-browser-extension icon indicating copy to clipboard operation
github-issue-reactions-browser-extension copied to clipboard

Display is toggling on hover of UI elements

Open danawoodman opened this issue 2 years ago • 4 comments

When hovering over diff parts of an issue I'm seeing a weird toggling of the display:

Screen Recording 2023-03-15 at 12 51 58 PM

NOTE: The GIF doesn't do as good a job at showing this cause its so fast, but it happens when hovering over various UI elements on the issue

danawoodman avatar Mar 15 '23 19:03 danawoodman

It's my plan to refactor it to use react - that should fix this issue. I just need to find the time to do it.

Norfeldt avatar May 03 '23 09:05 Norfeldt

Just a note, but React would be a very heavy solution as you'd be shipping the whole React runtime for the extension. I'd suggest considering something like Svelte which is pre-compiled and thus much more light weight or something similar :)

danawoodman avatar May 08 '23 20:05 danawoodman

preact could also be one option 🙂 - just have not any experience with it.

Norfeldt avatar May 10 '23 07:05 Norfeldt

My bandwidth is very limited currently, but came across this https://github.com/crxjs/chrome-extension-tools and dropping it here as a note to myself. Think that a refactor to solidJS should be possible with this tool. Two factors that I predict needs to be solved:

  • adding a conversion from manifest v3 to v2 in order to support firefox
  • the virtual dom state has to be connected to the MutationObserver

Norfeldt avatar Jun 29 '23 06:06 Norfeldt