mirror of https://github.com/kivy/kivy.git
Don't dismiss dropdown when clicking inside it.
This commit is contained in:
parent
cf09790388
commit
88180cd696
|
@ -314,6 +314,8 @@ class DropDown(ScrollView):
|
|||
return True
|
||||
if 'button' in touch.profile and touch.button.startswith('scroll'):
|
||||
return
|
||||
if self.collide_point(*touch.pos):
|
||||
return True
|
||||
if self.auto_dismiss:
|
||||
self.dismiss()
|
||||
|
||||
|
|
Loading…
Reference in New Issue