【问题标题】:Is there any way i can make stiky bar in ionic framework有什么办法可以在离子框架中制作粘性条
【发布时间】:2022-01-12 02:02:44
【问题描述】:

有什么方法可以在我实现的 ionic 中制作 stiky bar,但问题出在 ios 但在 ios 中振动

enter image description here

【问题讨论】:

    标签: html ios angular ionic-framework angular-ui-bootstrap


    【解决方案1】:

    你用过css属性position: fixed吗? (其广泛的accepted),与top 的组合可能是widthheight 应该足够了

    position: fixed;
    top: 94%;
    width: 100%;
    height: 60px;
    background-color: red;
    

    【讨论】:

    • 我不想修复,我想要 stiky 直到滚动到达结束它应该被修复,然后它不应该被修复它应该滚动内容
    • 你能详细说明你想要完成什么吗?或者附上一些可以帮助形象化的东西。您希望它只修复片刻吗?
    • 你可以看到上面的屏幕截图添加到愿望清单并添加购物车应该固定直到踩到可见之后它应该是相对的 它在 android 中的 ios 中工作得非常好 当我向下滚动时它的抖动或振动
    • 请在您的问题中分享您正在使用的代码。或者 - 如果可以的话 - 共享代码沙箱或存储库。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-12-29
    • 2013-07-10
    • 2014-02-07
    • 1970-01-01
    • 2019-02-09
    • 2016-05-26
    • 1970-01-01
    相关资源
    最近更新 更多