Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Blue - v0.0.80

Compare
Choose a tag to compare
@ItsJonQ ItsJonQ released this 14 Dec 16:19
· 2894 commits to main since this release

Modal: Provide delay for CloseButton reposition

This update adds a new prop to Modal, which provides a delayed time before
the CloseButton is repositiioned (if the CloseButton is enabled).

This is necessary for certain situations where content that's injected into
the Modal.Body changes size, from a no-scrollbar state to a scrollbar state.
An example would be media (like images) unfurling during the mount state,
which is hidden via the Animation transition.

This is very edge-case, but it's something that I saw during Beacon
integration.


Testing: Jest/Travis

This update also changes Jest's setting to --runInBand to ensure more reliable and stable tests in Travis. The downside to this is that it slows down the test run a bit 😢