Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

Bugfix/components can't be clicked when zoom out

Open princepride opened this issue 2 years ago • 5 comments

When I zoom out the browser, the components can't be clicked. I noticed that a possible issue might be within the useEffect hook of MainLayout. The code toggles the sidebar state when the window size changes, which may be causing the issue I am encountering, so I comment out the useEffect the problem has solved.

princepride avatar May 06 '23 16:05 princepride

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 06 '23 16:05 CLAassistant

Hey there @princepride , could you share a detail video of the bug that you're talking about?

chungyau97 avatar May 09 '23 12:05 chungyau97

@chungyau97

https://github.com/FlowiseAI/Flowise/assets/29850264/6b0d7104-2d51-4543-b4a6-5ac9d418856c

princepride avatar May 09 '23 14:05 princepride

As you see, when I zoom out the browser, all components can't be clicked

princepride avatar May 09 '23 14:05 princepride

After further investigation I found that the MuiDrawer-modal drawer is blocking it. As resizing window does not have this problem unless clicking on the maximize button to resize it to certain a smaller size.

Need to take another approach on solving this.

chungyau97 avatar May 10 '23 10:05 chungyau97

Okay bug fixed. Adding setTimeout fixed the issue.

@princepride do you mind to test it again? thanks!

HenryHengZJ avatar May 14 '23 18:05 HenryHengZJ