[GH-ISSUE #5938] Modal content with h-[80vh] breaks in tauri #2332

Open
opened 2026-03-16 23:59:56 +03:00 by kerem · 3 comments
Owner

Originally created by @j-mir-prazak on GitHub (Mar 4, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5938

Originally assigned to: @VishwaVikas2006 on GitHub.

HoppSmartModal has max-h-[60vh] (link github.com/hoppscotch/ui@a77a9d920a/src/components/modal/index.vue (L46C1-L47C1))

In here, there is height defined as h-[80vh]. This works okey in chrome on linux; but tauri on linux (and maybe elsewhere) has the modal cut off as shown in the image - scrolled all the way down, but cannot see the whole modal.

github.com/hoppscotch/hoppscotch@1119a2209c/packages/hoppscotch-common/src/components/collections/documentation/index.vue (L11)

Image
Originally created by @j-mir-prazak on GitHub (Mar 4, 2026). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5938 Originally assigned to: @VishwaVikas2006 on GitHub. HoppSmartModal has max-h-[60vh] (link https://github.com/hoppscotch/ui/blob/a77a9d920a8c74088326f483e58b82dce249d82c/src/components/modal/index.vue#L46C1-L47C1) In here, there is height defined as h-[80vh]. This works okey in chrome on linux; but tauri on linux (and maybe elsewhere) has the modal cut off as shown in the image - scrolled all the way down, but cannot see the whole modal. https://github.com/hoppscotch/hoppscotch/blob/1119a2209cc31f207138c424ff74a0cfc5951d1b/packages/hoppscotch-common/src/components/collections/documentation/index.vue#L11 <img width="2880" height="1800" alt="Image" src="https://github.com/user-attachments/assets/f9ef127c-7d3c-47cd-91fc-4a4ab18c8135" />
Author
Owner

@VishwaVikas2006 commented on GitHub (Mar 12, 2026):

Hi, I’d like to work on this issue. Could you assign it to me?

<!-- gh-comment-id:4044892627 --> @VishwaVikas2006 commented on GitHub (Mar 12, 2026): Hi, I’d like to work on this issue. Could you assign it to me?
Author
Owner

@VishwaVikas2006 commented on GitHub (Mar 12, 2026):

Hi maintainers,
I’ve implemented the fix for issue #5938.
Please let me know if any adjustments are needed.
Thanks for reviewing!

<!-- gh-comment-id:4045258618 --> @VishwaVikas2006 commented on GitHub (Mar 12, 2026): Hi maintainers, I’ve implemented the fix for issue #5938. Please let me know if any adjustments are needed. Thanks for reviewing!
Author
Owner

@VishwaVikas2006 commented on GitHub (Mar 15, 2026):

Hi maintainers,

Just checking if any changes are required for this PR.
Happy to update it if needed.

Thanks!

<!-- gh-comment-id:4063118177 --> @VishwaVikas2006 commented on GitHub (Mar 15, 2026): Hi maintainers, Just checking if any changes are required for this PR. Happy to update it if needed. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2332
No description provided.