就這東西啦
https://bootstrap5.hexschool.com/docs/5.0/forms/validation/#browser-defaults
找了我半天……
最後解法長這樣。
1 2 3 | :root { scroll-behavior: auto !important ; } |
為何啊……
參考資料:
on Bootstrap5, browser default validation message does not showed when the page is so long