auth0 / docs

Auth0 documentation
MIT License
367 stars 1.6k forks source link

Fix scrolling issue in Flutter QS #10326

Closed Widcket closed 8 months ago

Widcket commented 8 months ago

Changes

Currently, the Flutter interactive QuickStarts for mobile and web have an issue when scrolling past the first "Getting Started" step, whereas the content of the following step remains dimmed:

https://github.com/auth0/docs/assets/5055789/e7afba33-17f6-45e4-84ee-1e3fe87dc5db

Turns out that the step whose content remains dimmed is added through an include. This include contains a level 2 heading with the name of the step ("Configure Auth0"), and is being included after another level 2 heading ("Getting Started"). While this should result (and does result) in a new level 2 heading being appended, it trips up the scroll behavior of the docs app.

This PR simply removes the "Getting Started" heading so that the includes follow after a level 1 heading, which does not cause any issues when scrolling. This is intended as a stop-gap measure until the underlying issue is fixed on the docs app.