Skip to content

Releases: AshesOfOwls/popoverjs

v0.2.30

19 Mar 02:02
Compare
Choose a tag to compare
  • 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, and overflow: visible when the popover's is-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

13 Mar 00:34
Compare
Choose a tag to compare
  • Add onClick event callback option

v0.2.28

08 Mar 09:08
Compare
Choose a tag to compare
  • Fixes cursorTracing

v0.2.27

08 Mar 08:58
Compare
Choose a tag to compare
  • Add cusorTracing value to the hideOn property. It will automatically close the popover if the cursor is detected outside of the popover/content "zone".

v0.2.26

07 Mar 04:00
Compare
Choose a tag to compare
  • Fix pointer event issues for good

v0.2.25

06 Mar 11:38
Compare
Choose a tag to compare
  • Fix pointer events on popoverjs wrapper
  • Fix arrows so that they overlap 1 pixel with the container

v0.2.24

09 Feb 14:59
Compare
Choose a tag to compare
  • Add pointer-events: none; to the popover wrapper

v0.2.23

03 Feb 05:39
Compare
Choose a tag to compare
  • 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

03 Feb 05:02
Compare
Choose a tag to compare
  • 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

03 Feb 03:38
Compare
Choose a tag to compare
  • 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.