Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Page scrolls up when typing (when being zoomed out in Safari) #155

Open
receter opened this issue Feb 25, 2022 · 4 comments
Open

Page scrolls up when typing (when being zoomed out in Safari) #155

receter opened this issue Feb 25, 2022 · 4 comments

Comments

@receter
Copy link

receter commented Feb 25, 2022

Steps to reproduce:

  1. Open Demo (https://react-components.buildo.io/#textareaautosize) in Safari (15.2)
  2. Zoom out one step using cmd -
  3. Scroll down a little bit so there is room to scroll up
  4. Type in the first Textarea, the page starts scrolling up while typing

Note: this only happens when zoomed out one step

@receter receter closed this as completed Feb 25, 2022
@receter receter reopened this Feb 25, 2022
@receter
Copy link
Author

receter commented Feb 25, 2022

Possibly a duplicate of #74

@receter
Copy link
Author

receter commented Feb 25, 2022

Might be some rounding thing. Maybe not doing anything when the calculation does not significantly change the height would fix it?

@receter
Copy link
Author

receter commented Feb 25, 2022

The bug is in https://github.com/jackmoore/autosize

@receter
Copy link
Author

receter commented Feb 25, 2022

jackmoore/autosize#396

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant