Skip to content

Commit

Permalink
Fixed an endless loop when typing fast.
Browse files Browse the repository at this point in the history
  • Loading branch information
HeaTTheatR committed Jan 30, 2024
1 parent bc650ef commit cb01c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kivymd/uix/textfield/textfield.py
Expand Up @@ -1352,7 +1352,7 @@ def set_text(*args):
):
self.on_focus(instance, False)

Clock.schedule_once(set_text)
set_text()

def on_focus(self, instance, focus: bool) -> None:
"""Fired when the `focus` value changes."""
Expand Down

0 comments on commit cb01c01

Please sign in to comment.