fix: collapse menu on mobile when path changes #3194

Merged
dpschen merged 1 commits from danstewart/vikunja-frontend:danstewart/fix-menu-auto-collapse-mobile into main 2023-03-07 15:56:12 +00:00
Contributor

When tapping an item in the menu on 0.20.3 on mobile it currently collapses the menu, this no longer happens on main.

Looks like this was dropped here:
c502f9b840

When tapping an item in the menu on 0.20.3 on mobile it currently collapses the menu, this no longer happens on `main`. Looks like this was dropped here: https://kolaente.dev/vikunja/frontend/commit/c502f9b840ee2d65193aa4ef29c7f260b49db0d2
danstewart added 1 commit 2023-03-05 17:26:28 +00:00
continuous-integration/drone/pr Build is passing Details
87d7b4e17a
fix: collapse menu on mobile when path changes
danstewart requested review from dpschen 2023-03-05 17:27:17 +00:00
Member

Hi danstewart!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://3194-danstewart-fix-menu-auto-collaps--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.

Have a nice day!

Beep boop, I'm a bot.

Hi danstewart! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://3194-danstewart-fix-menu-auto-collaps--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/. Have a nice day! > Beep boop, I'm a bot.
Owner

@dpschen was that intentional?

@dpschen was that intentional?
Member

@dpschen was that intentional?

This was not intentional, good catch!

When I was refactoring this I didn't remember what exactly I meant by the original comment

// hide menu on mobile

The new comment makes it much clearer now!

> @dpschen was that intentional? This was not intentional, good catch! When I was refactoring this I didn't remember what exactly I meant by the original comment ``` // hide menu on mobile ``` The new comment makes it much clearer now!
dpschen approved these changes 2023-03-07 15:56:03 +00:00
dpschen merged commit 1b06112db4 into main 2023-03-07 15:56:12 +00:00
Author
Contributor

Thanks 🙂

Thanks 🙂
danstewart deleted branch danstewart/fix-menu-auto-collapse-mobile 2023-03-07 15:58:00 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.