Fix: (#4204) The issue was that when that panel was opened its content would wrap instead of maintaining its desired structure. I fixed this bug by adding a minimum width to the panel's contents so that they would stay correctly formatted throughout the opening transition. --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
@ -102,13 +102,14 @@ export const RightDrawer = () => {
|
|||||||
|
|
||||||
const variants = {
|
const variants = {
|
||||||
fullScreen: {
|
fullScreen: {
|
||||||
width: '100%',
|
x: '0%',
|
||||||
},
|
},
|
||||||
normal: {
|
normal: {
|
||||||
|
x: '0%',
|
||||||
width: rightDrawerWidth,
|
width: rightDrawerWidth,
|
||||||
},
|
},
|
||||||
closed: {
|
closed: {
|
||||||
width: 0,
|
x: '100%',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user