Scroll_to behaviour

13 views
Skip to first unread message

Mihály Mirk

unread,
Oct 17, 2016, 5:18:32 AM10/17/16
to Kivy users support
Hi all,

I'm using the scroll_to function in my kv-file. It scrolls properly as I wanted, but if I turn the mouse-wheel it will jump back where it was before scrolling.

Any ideas, what did I miss?

snipplet of my kv-file:



MyButton:
                    text: 'jump'
                    on_release: scroll_content.scroll_to(jump_id_2, padding=0, animate=True)

ScrollView:
id: scroll_content
                        blah, blah, blah.......

# values of the devices
GridLayout:

                            BoxLayout:
                                id: jump_id_0
                                blah, blah, blah.......

                            BoxLayout:
                                id: jump_id_1
                                blah, blah, blah.......

                            BoxLayout:
                                id: jump_id_2
                                blah, blah, blah.......



Thank you for your help....

Mihály Mirk

unread,
Nov 21, 2016, 6:59:18 AM11/21/16
to Kivy users support
Reply all
Reply to author
Forward
0 new messages