KIVY: Carousel inside another carousel

元气小坏坏 提交于 2021-02-11 12:40:13

问题


I'm trying to have a carousel inside another carousel. It's KivyMD so I have MDTabs which is based off of carousel and I wish to put another one inside of that. I did it but the parent carousel (the MDTabs) grabs focus and when I try to swipe the child carousel the focus goes to the parent instead and it switches tabs instead of switching slides inside the carousel. If I wait for the scroll_timeout of the parent carousel I can swipe and switch slides but this is basically unusable for the end user. Any ideas are greatly appreciated.

来源:https://stackoverflow.com/questions/63381705/kivy-carousel-inside-another-carousel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!