Skip to content

fix: resize not always working#1598

Merged
maartenbreddels merged 1 commit intobqplot:0.12.xfrom
mariobuikhuizen:fix_resize_observer_not_always_working
Apr 11, 2023
Merged

fix: resize not always working#1598
maartenbreddels merged 1 commit intobqplot:0.12.xfrom
mariobuikhuizen:fix_resize_observer_not_always_working

Conversation

@mariobuikhuizen
Copy link
Copy Markdown
Contributor

The intersectObserver, used to determine if an element is visible, can contain multiple entries for the same target element. The last entry represents the last observed state, so we should use the last instead of the first for the visibility test.

See: spacetelescope/jdaviz#2129

The intersectObserver, used to determine if an element is visible,
can contain multiple entries for the same target element. The
last entry represents the last observed state, so we should use
the last instead of the first for the visibility test.

See: spacetelescope/jdaviz#2129
@maartenbreddels
Copy link
Copy Markdown
Member

Nice, thanks!

@maartenbreddels maartenbreddels merged commit c06084a into bqplot:0.12.x Apr 11, 2023
@maartenbreddels
Copy link
Copy Markdown
Member

meeseeksdev backport to master

meeseeksmachine pushed a commit to meeseeksmachine/bqplot that referenced this pull request Apr 11, 2023
maartenbreddels pushed a commit that referenced this pull request Apr 11, 2023
Co-authored-by: Mario Buikhuizen <mariobuikhuizen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants