Comments (2)
This currently works, however, this is only because size is reported as 0,0 when the element does not have display. The spec does not seem to define what size should be reported when display is set to none.
from resize-observer.
The way the library currently works actually seems to be valid and Chrome appears to be doing the same.
from resize-observer.
Related Issues (20)
- Refactor and reduce code to allow for a smaller bundle size HOT 1
- ResizeObserver loop completed with undelivered notifications HOT 13
- .disconnect() breaks additional observe calls HOT 1
- Using this polyfill with polyfill.io HOT 4
- Improve code hints
- covering more cases HOT 10
- The UMD build doesn't not export the globals as expected HOT 5
- ResizeObserver loop completed with undelivered notifications (native works fine) HOT 13
- Improve the accuracy of device-pixel-content-box when moving elements across pixels
- Imports must specify file extension when "type": "module" HOT 4
- [Question] - How does this package compares with que-etc/resize-observer-polyfill ? HOT 3
- Missing null check HOT 3
- [spec] lastReportedSize should initialise with (-1, -1) HOT 1
- ResizeObserverEntry type does not match actual payload when using Safari versions 15.3.1 and older HOT 1
- the >>> and /deep/ combinators have been deprecated. Use :deep() instead HOT 1
- ResizeObserver loop completed with undelivered notifications. HOT 2
- rollup.js warns about circular dependencies HOT 2
- import question HOT 5
- Update readme to point to public working draft HOT 2
- It throw error if target element inside a iframe on Chrome HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resize-observer.