codex-team / codex-team/notes.web

Popover component does not reposition on scroll or window resize

Open
#350 0 comments 0 reactions 1 assignee Claimed by @quangtuanitmo18 View on GitHub
Dominant language
Vue
Stars
11
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Currently, when the Popover component is opened, it calculates its absolute position relative to the target element perfectly. However, if the user scrolls the page (or a scrollable container) or resizes the browser window while the popover is active, the popover remains fixed in its initial static coordinates and detaches from its target element.

Additionally, there is a minor bug in the horizontal position calculation where window.scrollX is missing, which could cause offset issues if the page is scrolled horizontally.

Image

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.