File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
src/components/ModalAction Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 22
33# Changelog
44
5+ ## 1.5.5
6+
7+ 2025-12-3
8+
9+ ### Bug Fixes
10+
11+ - ** ModalAction**
12+
13+ 🐞 Respect ` open ` prop when it's changed to ` false ` .
14+
515## 1.5.4
616
7172025-12-2
Original file line number Diff line number Diff line change 11{
22 "name" : " @tiny-codes/react-easy" ,
3- "version" : " 1.5.4 " ,
3+ "version" : " 1.5.5 " ,
44 "description" : " Simplify React and AntDesign development with practical components and hooks" ,
55 "keywords" : [
66 " react" ,
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ export const genModalActionRenderer = (defaultProps: Partial<ModalActionProps<an
214214
215215 // Listen to the open props changes
216216 useEffect ( ( ) => {
217- if ( openInProps ) {
217+ if ( openInProps !== undefined ) {
218218 setOpen ( openInProps ) ;
219219 }
220220 } , [ openInProps ] ) ;
You can’t perform that action at this time.
0 commit comments