Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Article title shifts when creating a new article on Firefox for Mac #38

Open
joshpc opened this issue May 12, 2019 · 0 comments
Open

Article title shifts when creating a new article on Firefox for Mac #38

joshpc opened this issue May 12, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@joshpc
Copy link
Owner

joshpc commented May 12, 2019

Describe the bug
In Firefox for Mac, the Article Title will shift once you enter a title.

This occurs because we estimate what the height of the scrollView will be if it had a line using the font's lineHeight property. This is an approximation; scrollViews don't have to respect this. Chrome and Safari does, generally, but Firefox does not.

This results in the content shifting down just a little.

To Reproduce
Using Firefox

Steps to reproduce the behaviour:

  1. Create an article.
  2. Type a title

Expected behaviour
The content should not shift.

Browser and Device (please complete the following information):

  • Firefox, Mac
@joshpc joshpc added the bug Something isn't working label May 12, 2019
@joshpc joshpc self-assigned this May 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant