Skip to content

Conversation

@mkzxc
Copy link

@mkzxc mkzxc commented Dec 16, 2025

Hi! First and foremost, thanks for keeping moodist free!

I noticed that opening the Pomodoro Settings Modal made the body scrollable: this is probably caused by the else if condition in the first useEffect of the Pomodoro main Modal.

The Modal rendered by the Settings component has lockBody={false} so it seems like there is already an intention to prevent this "secondary" modal to influence the body scroll functionality, but as of right now it also closes the main modal which has lockBody={true}.

I think that a simple fix is keeping the main modal open: we lose its animations when opening/closing the settings but it should be fine for the UX since we are still in the "Pomodoro application context".

Let me know if there are any problems regarding this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant