vercel / vercel/hyper

terminal body shows x and y scrollbar when resized

Open
#7,871 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: ubuntu 20.04 lts

  • Hyper.app version: 3.4.1

  • Link of a Gist with the contents of your hyper.json: Link

  • The issue is reproducible in vanilla Hyper.app: yes

Issue

When resizing the window the body element overflow, showing scrollbars. I'm trying to add this

body {
    overflow: hidden !important;
}

to my css in my .hyper.js file. However it doesn't seem to respect it at all.

when adding the styles manually in the debug inspector, it fixes the issue for me.

2024-03-29_17-54

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the resize behavior in Hyper.app on Ubuntu 20.04 and inspect the body element in the debug inspector, then trace how CSS from .hyper.js is applied. Done means resizing no longer shows horizontal or vertical scrollbars and the configured body overflow rule is respected.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.