Popover is not in sync with scrollable/movable content
bdurrer opened this issue · 4 comments
a demo of the problem can be found here: https://jsfiddle.net/0swr3m18/
- select content in the scrollable div
- scroll
actual: the popup's position is wrong
expected: the popup stays with the content
share-this cannot solve the problem itself, since it cannot track all possible ways how content could move.
However, there is currently no way for users of the library to trigger a refresh of the popover.
Request: Expose a redraw/refresh function, as shown in PR #15
Possible enhancement: exposing a reposition
(or similarly named) method that could be attached to a scroll
event listener or called for whatever reason.
@MaxArt2501 when can we expect this to be implemented? Thanks Max
Perhaps during this winter vacation I'll be able to take some time to look into it. Thank you for your patience.
Closed as per 22d37b6.