Closed
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
page.window.on_resized doesn't work for web and mobile so we need to remove deprecation for page.on_resize
Code
import flet as ft
def main(page: ft.Page):
def page_resize(e):
print("Page resize triggered")
page.on_resize = page_resize
ft.app(main)
To reproduce
- Run repro code -> page_resize is not triggered
Expected behavior
No response
Screenshots
No response
Operating System
macOS
Operating system details
macOS
Flet version
0.23.0
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
No response
Additional details
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done