-
-
Notifications
You must be signed in to change notification settings - Fork 981
Open
Labels
Description
Features
v5.1
- Copy Title element value to iframe title attribute
- Add
scrollBy()method - Add
waitForLoadoption - Add Parent option to create
data-iframe-sizeattrs via CSS selector (sizeSelector) - Log when new element is used to calculate size
v5.2
- Investigate if IntersectionObserver can be used to detect which elements are outside the
<body/> - set
window.location.hashwhen settinginPageLinks - Alias
offsetSize->offset - Investigate scrolling with sticky headers
v5.3
- Optimise performance
- Log init/resize calculation timer
- Remove
warningcomponent dependancy in React version - Isolate parent/child when messages passed via same-domain iframe
- Use
setTimeout(0)on user events with void return type - Check HTMLIFrameElement: sandbox allows JavaScript, when no response from iframe
v5.4
- Use auto-console-group for log output
-
ingnoreSelector&data-iframe-ignore -
setOffsetSize() -
log: 'collapsed’option -
onBeforeResize(newSize)
v5.5
- Direction
both - Adde support for
loading=“lazy” - Detect when iframe is hidden on parent page
- Detect and warn about reused IDs on parent iframe tags
- Detect cross-origin errors and provide a better warning message
- Detect and warn about resize loops
- Detect when an iframe is removed from the page and auto disconnect with warning message
- Detect and ignore elements anchored to the page bottom/right of the page
- Alias
onBeforeClose->onClose - Alias
onAfterClose->onClosed
v5.x
- Types for
core - Migrate to using pubSub patten
- Add
EventListener()methods - Add auto same-domain code injection (@iframe-resizer/injector)
- Create RPC function framework (@iframe-resizer/rpc)
Framework components / plugins
- React
- Vue 3
- Svelte
- SolidJS
- Angular
- jQuery
hadrien-f, dhaladitya108, monobasic, bertho-zero, tipodanet and 3 more