question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Weird scrollview when i scroll with my touchpad

See original GitHub issue

Versions

  • Python: 3.7
  • OS: Windows 10 familly
  • Kivy: 1.11.1
  • Kivy installation method: use documentation

Description

When i scroll in scrollview with my touchpad it goes to bottom again. i’ll do a test in kivy/input/providers/mouse.py but if other people can help me thank you

Code and Logs


from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.lang import Builder

KV = """
<YouTuber>:
    BoxLayout:
         orientation:"horizontal"
    BoxLayout:
        orientation:"vertical"
    ScrollView:
        do_scroll_y: True
        pos_hint: {'top': 1}
        bar_width: 8
        bar_color: 1, 0, 0, 1
        scroll_type: ['bars']
    Label:
        size_hint_y: None
        text:"test"
        height: 2100
"""

Builder.load_string(KV)

class YouTuber(BoxLayout):
    pass

class MainApp(App):
    def build(self):
        self.m = YouTuber()
        return self.m

MainApp().run() 

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
vladimir-guicommented, Jan 31, 2021

Yeah it’s perfect ! Solved Thank you So much, specialy teeshirtman 😉 Just waiting to have 2.1.0 to stable branch

0reactions
mathamcommented, Jan 31, 2021

I believe this should be fixed in master with https://github.com/kivy/kivy/pull/7279. So try master and see if it fixes it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

touchpad scroll showing weird behavior - Microsoft Community
My touchpad has the two-fingers to scroll a page thing enabled. I don't know why but it started showing weird behaviors recently.
Read more >
New iPad Magic Keyboard Trackpad scrolling laggy
It happens when scrolling web or web-based apps, especially when these's a scroll view inside the view. e.g. github code page.
Read more >
Two Finger Scroll Not Working Windows 10 (Fixed)
Press the Windows + R keys on your keyboard. · Type in “main. · Switch to the Touchpad tab (or Device settings if...
Read more >
210071 – Trackpad and Mouse scroll events on iPad only fire ...
When scrolling with a trackpad/mouse on iPadOS 13.4, the browser only ... scroll events, the scroll view buzzes between two scroll offsets.
Read more >
overscroll-behavior - CSS: Cascading Style Sheets | MDN
If you have overscroll-behavior: contain; selected, the outer container will not scroll unless you move your cursor out of the inner container ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found