You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Upon looking more closely in the documentation (https://typer.tiangolo.com/), and especially in the "bash" boxes showcasing small short animations of code and completions, two small events happen which are a little annoying.
The buttons Restart and Fast
Upon clicking the restart / fast button on an animation, one is focused to the top of the page, which makes it slightly akward to find the place where you hit restart again, but the functionality requirement seems to work properly (i.e it does restart when hitting restart, it does go fast upon clicking on fast)
Reproducibility
Upon trying to reproduce this issue, I see it sometimes works, without going to the top of the page, and sometimes does not - the behavior is slightly wierd - but I am sure there is a reason for this...
An example of a bash box in typer (or what i call the animations...):
(with restart button)
and
(with fast button)
FastAPI
At least I see that FastAPI docs (https://fastapi.tiangolo.com/) its animations, seem to work as expected, (i.e upon hitting fast/ restart one does not get pushed to the top of the page). So something here is going more right, and its cleaner and more smooth for the experience for the user of these docs.
Conclusion
I am glad to try to investigate and make a PR for this, as it's just slightly inconvenient, at least when you are far down on the page, and it seems FastAPI docs has this issue already solved.
Operating System
Windows
Operating System Details
No response
Project Version
0.26.8
Python Version
No response
Additional Context
Not fully sure if this issue has been identified, I tried searching for it, but could not find it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Example Code
Description
Hello,
Upon looking more closely in the documentation (https://typer.tiangolo.com/), and especially in the "bash" boxes showcasing small short animations of code and completions, two small events happen which are a little annoying.
The buttons
RestartandFastUpon clicking the restart / fast button on an animation, one is focused to the top of the page, which makes it slightly akward to find the place where you hit restart again, but the functionality requirement seems to work properly (i.e it does restart when hitting restart, it does go fast upon clicking on fast)
Reproducibility
Upon trying to reproduce this issue, I see it sometimes works, without going to the top of the page, and sometimes does not - the behavior is slightly wierd - but I am sure there is a reason for this...
An example of a bash box in typer (or what i call the animations...):


(with restart button)
and
(with fast button)
FastAPI
At least I see that FastAPI docs (https://fastapi.tiangolo.com/) its animations, seem to work as expected, (i.e upon hitting fast/ restart one does not get pushed to the top of the page). So something here is going more right, and its cleaner and more smooth for the experience for the user of these docs.
Conclusion
I am glad to try to investigate and make a PR for this, as it's just slightly inconvenient, at least when you are far down on the page, and it seems FastAPI docs has this issue already solved.
Operating System
Windows
Operating System Details
No response
Project Version
0.26.8
Python Version
No response
Additional Context
Not fully sure if this issue has been identified, I tried searching for it, but could not find it.
Beta Was this translation helpful? Give feedback.
All reactions