Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Implement resize-observer-mixin #27

Closed
web-padawan opened this issue Dec 27, 2019 · 0 comments · Fixed by #28
Closed

Implement resize-observer-mixin #27

web-padawan opened this issue Dec 27, 2019 · 0 comments · Fixed by #28
Assignees

Comments

@web-padawan
Copy link
Member

We should replace IronResizableBehavior with the native Resize Observer.
This API is not supported by older Safari versions, so we need to load a polyfill.

The mixin should create an observer instance in the connectedCallback in order to observe element size change, and then call disconnect() inside of disconnectedCallback.

This mixin should be used in vaadin-tabs, vaadin-form-layout etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant