spaceshelter / orbitar

Experimental collective social/blogging platform with self-regulation.
MIT License
61 stars 24 forks source link

Fix rating popup position behaviour #307

Closed eyesplitter closed 1 year ago

eyesplitter commented 1 year ago

Instead of positioning the popup relative to the page, we position it relative to the rating block

Fixed:

  1. bug when popup stays still on scrolling page
  2. bug when popup moves on page resize (old bug)
  3. bug when popup moves and renders incorrectly on changing the page font size (old bug)

Before: popup_before.webm

After: popup_after.webm

Aivean commented 1 year ago

Looks pretty good overall, and definitely an improvement over what we had, however, there is a weird interaction with transparency in the "new comments" mode: popup_transp

eyesplitter commented 1 year ago

@Aivean fixed the opacity issue. Now if the rating popup is opened we should remove the opacity from the comment. This solution possibly not working in Firefox