【问题标题】:To make a Material-UI div fixed always visible at the top of the page even when page scroll down使 Material-UI div 固定在页面顶部始终可见,即使页面向下滚动也是如此
【发布时间】:2019-06-06 23:29:37
【问题描述】:

使 Material-UI Grid 或固定组件在页面顶部始终可见,即使页面向下滚动也是如此。

【问题讨论】:

  • 提问时,请分享一些代码,以便社区得到更好的答案。
  • 这是一个 reactjs 还是 react-native 问题?

标签: reactjs react-native material-ui


【解决方案1】:

您可以使用 react-sticky 来做到这一点,请查看React-sticky

请查看Dock App Bar to top of window in react material ui,我想这里已经回答了这个问题。

【讨论】:

    猜你喜欢
    • 2017-02-21
    • 2013-12-19
    • 2023-03-19
    • 1970-01-01
    • 1970-01-01
    • 2012-02-08
    • 2019-03-14
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多