Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix(svelte): scrolling search input#63261

Merged
camdencheek merged 1 commit into
mainfrom
cc/fix-scroll
Jun 14, 2024
Merged

fix(svelte): scrolling search input#63261
camdencheek merged 1 commit into
mainfrom
cc/fix-scroll

Conversation

@camdencheek

@camdencheek camdencheek commented Jun 14, 2024

Copy link
Copy Markdown
Member

Fixes SRCH-541

Reported here

The bug:

screenshot-2024-06-13_20-06-49.mp4

With the change in font, the minimum line-height to fit that font has also increased. 1.6 seemed to do the job.

I'm a little concerned about other places this might be a problem, but for now just doing the easy thing to make it feel less broken.

Test plan

The input no longer scrolls and there is no change to the height of the element as a whole.

@cla-bot cla-bot Bot added the cla-signed label Jun 14, 2024
@camdencheek camdencheek requested a review from a team June 14, 2024 02:09
@fkling fkling changed the title Svelte: fix scrolling search input fix(svelte): scrolling search input Jun 14, 2024

@fkling fkling left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd expect CodeMirror to handle this itself but maybe we set a fixed height on the input already.

@camdencheek camdencheek merged commit f8bbc3f into main Jun 14, 2024
@camdencheek camdencheek deleted the cc/fix-scroll branch June 14, 2024 05:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants