title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 1.5.2 |
Explore the changelog for Chakra UI version 1.5.2. Learn about the latest features, bug fixes, and improvements. |
April 19, 2021 |
1.5.2 |
-
aec2aaf9d
#3732 Thanks @jatin33! - AddedspinnerPlacement
prop to allow changing the spinner placement for the button whenisLoading
istrue
. Spinner placement can be eitherstart
orend
<Button isLoading spinnerPlacement="end"> Click me </Button>
fbc125258
#3778 Thanks @kristian240! - AddisDisabled
prop toCheckboxGroup
-
384902e35
#3836 Thanks @segunadebayo! - - Add pan session hookusePanGesture
for detecting pan gestures-
Update
useLatestRef
to inline value updates. Not concurrent mode safe but works for now. -
Add
useEventListenerMap
to provide an elegant way of attaching several pointer event to thedocument
or an element.
-
-
f2544fb58
#3839 Thanks @with-heart! - This change restores the behavior of theisLazy
prop (which was broken by the previous release) and adds a newlazyBehavior
prop which configures the behavior ofisLazy
.If you'd like the content of tab panel, popover and menu components to be unmounted when not selected or opened, please continue to use
isLazy
. This is the default behavior.If you'd like the content of tab panel, popover and menu components to remain mounted (but hidden) after it was previously selected or opened, use
lazyBehavior="keepMounted"
in combination withisLazy
.
-
57baa5e63
Thanks @segunadebayo! - Make it possible to pass popper.js props to popover and menu
-
f2544fb58
#3839 Thanks @with-heart! - This change restores the behavior of theisLazy
prop (which was broken by the previous release) and adds a newlazyBehavior
prop which configures the behavior ofisLazy
.If you'd like the content of tab panel, popover and menu components to be unmounted when not selected or opened, please continue to use
isLazy
. This is the default behavior.If you'd like the content of tab panel, popover and menu components to remain mounted (but hidden) after it was previously selected or opened, use
lazyBehavior="keepMounted"
in combination withisLazy
.
-
57baa5e63
Thanks @segunadebayo! - Make it possible to pass popper.js props to popover and menu
-
f2544fb58
#3839 Thanks @with-heart! - This change restores the behavior of theisLazy
prop (which was broken by the previous release) and adds a newlazyBehavior
prop which configures the behavior ofisLazy
.If you'd like the content of tab panel, popover and menu components to be unmounted when not selected or opened, please continue to use
isLazy
. This is the default behavior.If you'd like the content of tab panel, popover and menu components to remain mounted (but hidden) after it was previously selected or opened, use
lazyBehavior="keepMounted"
in combination withisLazy
.
-
0974e547c
Thanks @segunadebayo! - Add lazy content utility for disclosure components like popover, menu, tab, etc. -
59ea894a7
#3836 Thanks @segunadebayo! - - Add pan session class to handle pan gestures. This is used in the slider logic and sharable with vue library.-
Perf: Throttle pan move events to once per frame which improves the slider's
onChange
call performance. -
Update types for internal pointer event
-
- Updated dependencies
[
384902e35
]
-
a139b106f
Thanks @segunadebayo! - Fix bug whereEnvProvider
breaks SSR
- Updated dependencies
-
9c6be11b1
#3806 Thanks @TimKolberger! - Fixed an issue where the modal exceeded the viewport height on iOS
- Updated dependencies
[
0974e547c
,fbc125258
,57baa5e63
,aec2aaf9d
,59ea894a7
,384902e35
,a13252624
,f2544fb58
,a139b106f
,9c6be11b1
]
-
- Fix issue where slider doesnt work after first slide
- Avoid exccess onChange calls
- Updated dependencies
[
0974e547c
,59ea894a7
,384902e35
]
a13252624
#3810 Thanks @davidsonsns! - Fixed a11y issue related toStatHelpText
. It was using an invaliddl
child tag.- Updated dependencies
[
0974e547c
,59ea894a7
]
-
a11810f70
#3851 Thanks @TimKolberger! - Fixed an issue where the transition props are not resolved correctly
-
9c6be11b1
#3806 Thanks @TimKolberger! - Fixed an issue where the modal exceeded the viewport height on iOS
@chakra-ui/visually-hidden@1.0.10
- Updated dependencies
[
a11810f70
]
- Updated dependencies