Describe the bug
Addon panel is moving to a max width when trying to switch from bottom to Left
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the addon panel should either be set to an acceptable width or fit to the component width with additional padding
Screenshots

System:
Also it doesn't remember resizing.
If I set addons panel to render on the right side, manually adjust its width and reload the page - it still squishes the preview.
In v4 it saved panel sizes.
In v4, the panel was never this large. I would love to see it returned to the same initial width as before. The large size becomes an issue when you default to opening on the right.
There are two bugs here:
Hopefully it's a straightforward fix. Anybody wanna pick it up?
I'm taking a look at this. Contrary to @leerob , my add-on panel on the right is way too small by default and I don't have any horizontal scrolling going on in it, so I'd love for it to actually be larger. But as you said, that should be a tweak. On the other hand, it definitely doesn't remember resizing, so that's what I'm gonna try to figure out.
@Phoenixton Thanks for picking this up! @ndelangen you worked on the layout, can you chime in here?
I want to be able to set maxWidth. Unfortunatelly it doesn't have any unique selector I'd be able to use from CSS.
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!
downPanelInright: true in the the deprecated setOptions() was working better than panelPosition: 'right'.
How do we fix this ?
@adberard The whole UI was reimplemented, so the downPanelInRight vs panelPosition is just a naming change. The real issue here that the new UI needs some love. If you're interested in working on it, you can join our Discord and @ndelangen can help onboard you!