Skip to content

Incompatible with Bootstrap's hidden-iphone class #5

@turadg

Description

@turadg

When I'm at the top of the page:

<div id="sidebar" class="span4 hidden-phone" style="  position: sticky;  top: 40px;  right: 20px; ">

When I scroll down it sticks (good):

<div id="reader-sidebar" class="span4 hidden-phone stuck" style="  position: sticky;  top: 40px;  right: 20px; position:fixed;width:389px;height:347px">

When I scroll down farther, it disappears (bad):

<div id="reader-sidebar" class="span4 hidden-phone" style="  position, sticky;  top, 40px;  right, 20px; position,fixed;width,389px;height,347px">

It looks like two problems happen there. One is that it loses its stuck class and two is that the rules are written with commas in place of colons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions