Why not work fast swipe inside tabs, kivymd 2.0

12 views
Skip to first unread message

Богдан Дацюк

unread,
Feb 6, 2024, 12:36:21 PM2/6/24
to KivyMD users support
from kivymd.app import MDApp
from kivymd.uix.boxlayout import MDBoxLayout
from kivymd.uix.tab import MDTabsPrimary
from kivymd.uix.scrollview import MDScrollView
from kivymd.uix.label import MDLabel

class Tab1(MDBoxLayout, MDTabsPrimary):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.orientation = 'vertical'
       
        scroll_view = MDScrollView()
        label = MDLabel(text="Why fast move not scroll?")
        scroll_view.add_widget(label)
       
        self.add_widget(scroll_view)

class MyApp(MDApp):
    def build(self):
        return

MyApp().run()

------------------------
test code

i tested on old versions as well as clean kiwi everything works also i tested MDScrollView without tabs and everything works fine too but in the tabs doesn't work

i tried on two different smartphones and also even try to just move the mouse quickly and it doesn't work(
Reply all
Reply to author
Forward
0 new messages