Skip to content

Commit

Permalink
Fix Container on_click callback (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelho authored Aug 3, 2022
1 parent 83f5aec commit 7036369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/flet/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def ink(self, value: Optional[bool]):
# on_click
@property
def on_click(self):
return self._get_event_handler("on_click")
return self._get_event_handler("click")

@on_click.setter
def on_click(self, handler):
Expand Down

0 comments on commit 7036369

Please sign in to comment.