Releases: AshesOfOwls/popoverjs
Releases · AshesOfOwls/popoverjs
v0.2.30
- Fixes issue where the
is-open
class was not getting applied. This class will get added when the popover is triggered open, and removed once the popover has fully disappeared. - Adds
overflow: hidden
to the main popover element, andoverflow: visible
when the popover'sis-open
class is added. This prevents the popover from taking up any space in the DOM when it is not open. - The classes for previous positions will only be cleared when a new position has been determined - this fixes some weird visual bugs when opening/closing popovers frequently.
v0.2.29
- Add
onClick
event callback option
v0.2.28
- Fixes cursorTracing
v0.2.27
- Add
cusorTracing
value to thehideOn
property. It will automatically close the popover if the cursor is detected outside of the popover/content "zone".
v0.2.26
- Fix pointer event issues for good
v0.2.25
- Fix pointer events on popoverjs wrapper
- Fix arrows so that they overlap 1 pixel with the container
v0.2.24
- Add
pointer-events: none;
to the popover wrapper
v0.2.23
- Fixes bugs when trying to use popovers inside of triggers.
- Adds example stories for popovers inside of triggers - another optional way to create your popovers.
eg
<div className="demo-trigger">
Click me
<PopoverjsReact>
<div className="demo-content">I am the content</div>
</PopoverjsReact>
</div>
v0.2.22
-
Adds functionality for popovers without a trigger element. In order for these popovers to have the correct container dimensions, they rely on being placed within a parent element which has a
position: relative
property set on it. This element will become both the trigger element and the attachment element. -
Add examples for consecutive popovers which relied on the above logic.
v0.2.21
-
Fixes issue with body attached elements not updating their detached container when their parent element was being scrolled. This was initially put in for optimization but is being removed until it is actually necessary to implement.
-
Fixes index.js not being compiled with the rest of webpack and therefore causing import issues with es5.