Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resize not always working #1598

Conversation

mariobuikhuizen
Copy link
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
Member

Nice, thanks!

@maartenbreddels maartenbreddels merged commit c06084a into bqplot:0.12.x Apr 11, 2023
9 checks passed
@maartenbreddels
Copy link
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.

None yet

2 participants