BUG:Navigation bar hidden when resizing window below desktop breakpoint
Is there an existing issue for this?
- [x] I have searched the existing issues
What happened?
Description
The navigation bar disappears when the application window is resized to smaller tablet or mobile width sizes, making it impossible to access navigation links and menu options.
Steps to reproduce
- Open the PicToPy application
- Resize the window to a smaller width (approximately below 768px)
- Observe the navigation bar
Expected Behavior:
The navigation bar should remain visible and accessible at all window sizes, either by:
- Adapting to smaller widths with a responsive layout
- Transforming into a hamburger menu or collapsible navigation
- Maintaining visibility with appropriate spacing adjustments
Current behavior
https://github.com/user-attachments/assets/7300817f-64a7-4094-8893-ca36b907f4d1
Record
- [x] I agree to follow this project's Code of Conduct
👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)
@Prince-ES Hi! I would love to contribute by working on this issue. Could you kindly assign it to me ?
sure @bikram3369 you can work on this issue once the maintainer review it and assign it to you.
@rahulharpal1603 valid this issue is a concrete responsive behavior bug with direct user impact
Hi @Prince-ES, thanks for flagging this.
The app actually isn’t meant to be resized below 1280×720. We’ve set "minWidth": 1280 and "minHeight": 720 in the Tauri config (src-tauri/tauri.conf.json) to enforce that.
That said, I’m curious how you were able to shrink the window below those limits. Could you share a bit more about your setup or how you reproduced it? That would help us figure out if something’s bypassing the restriction.
Also, while double-checking the config, I noticed a small issue on our end: the initial width/height are currently set smaller than the min values, which isn’t intended.
I checked dev and the startup size is still 800×600 while the minimum is 1280×720, as Rohan noted. Would you be open to a small PR just to align the startup dimensions with the existing minimum? I’d keep resizing and the navigation breakpoint unchanged, and check the initial window and resize behavior in the desktop app. This would be separate from the original navigation report and the work already offered on it.
@JunaidAhamed-7777 the issue was in linux setup, its been over 10 months so idk if the issue still exists. there was a similar issue #935 which rohan closed saying "future PictoPy builds will no longer allow users to enter Inspect Mode, and minimum window width already prevents this" so this issue is also not valid.