Sidebar: dismissible
not working immediately while sidebar is visible
#3811
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
Toggling dismissibility doesn't actually immediately toggle it. It is only after closing and reopening the sidebar that the
dismissible
flag is taken into account.Possibly related to #2562 and #1065.
Reproducer
https://codesandbox.io/s/primereact-test-forked-ll7b2p?file=/src/index.js
PrimeReact version
8.7.3
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
dismissable
tofalse
.Expected behavior
No response
The text was updated successfully, but these errors were encountered: