how can i have scrollbar when position is negative?

后端 未结 1 1845
走了就别回头了
走了就别回头了 2021-01-15 00:11

When position is positive, scrollbar work just fine. but when left is negative, scrollbar won\'t apear. how can i have scrollbar when element is on the left side or on the r

相关标签:
1条回答
  • 2021-01-15 00:39

    It seems like you cannot do that, because the browsers do not provide that feature.

    This is my understanding after looking at the WebDriver spec http://w3c.github.io/webdriver/webdriver-spec.html

    In the section titled 'Determining if an element is displayed'

    there is a point that says "The User Agent must not allow negative scrolling"

    0 讨论(0)
提交回复
热议问题