Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LiveStation Bug #2

Closed
pakerchang opened this issue Oct 18, 2021 · 1 comment
Closed

LiveStation Bug #2

pakerchang opened this issue Oct 18, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@pakerchang
Copy link
Owner

  1. �table 時間欄位正則碰到整點時間顯示會只剩小時單位
  2. scrollbar 滑動在資料欄位長度超出顯示版面時,沒辦法一次滑動置底
@pakerchang pakerchang added the bug Something isn't working label Oct 18, 2021
@pakerchang pakerchang pinned this issue Oct 18, 2021
@pakerchang
Copy link
Owner Author

  • table 時間顯示問題已透過date-fns 將字串轉成時間格式處理,並新增了過濾已發車的車次。
  • scrollbar問題主要部分是兩個,第一點是 apple 所使用的webkit 組中的有個稱為橡皮筋特效的設定
    導致資料是動態變化時,局部高度和全域高度會產生衝突,早期做法是將 Head 及 Footer 部分設定為 fixed 蓋住全域變化
    後期做法 React 如子項部分,直接將特效偵測關閉避免高度隨動態變化延展而衝突
    第二個問題是因為 Safari 本身不吃 margin-bottom 的CSS屬性,導致出現Bug 影片示例中的沒辦法滑到資料最終長度就出現橡皮筋特效的問題,改成padding-bottom 之後就正常了

查詢到的相關文章

@pakerchang pakerchang unpinned this issue Oct 20, 2021
@pakerchang pakerchang pinned this issue Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant