Added a scroll to bottom button, made the automatic scroll stop when the user scrolls up (#401)

* Added go to bottom, Smooth scroll in markdown body

* scroll margin prameter added to config

---------

Co-authored-by: DEVOP <DEVOP@EXAMPLE.COM>
This commit is contained in:
Sergio Lage
2023-06-08 16:48:22 +08:00
committed by GitHub
co-authored by DEVOP
parent 2ee1cf4d08
commit b539b4d847
2 changed files with 38 additions and 4 deletions
+1
View File
@@ -104,6 +104,7 @@ export const defaultConfig = {
clickIconAction: 'popup',
insertAtTop: isMobile(),
lockWhenAnswer: false,
answerScrollMargin: 200,
autoRegenAfterSwitchModel: false,
selectionToolsNextToInputBox: false,
alwaysPinWindow: false,