Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An update is required for the Flet SDK #3075

Closed
Klu1d opened this issue Apr 21, 2024 · 1 comment
Closed

An update is required for the Flet SDK #3075

Klu1d opened this issue Apr 21, 2024 · 1 comment
Assignees

Comments

@Klu1d
Copy link

Klu1d commented Apr 21, 2024

I only use the Flet SDK from the App Store to test my projects.
And here are the challenges I'm facing:

  1. Local images are not displaying in the Flet SDK

Code to reproduce the issue:

import flet as ft

def main(page: ft.Page):
    page.vertical_alignment = ft.MainAxisAlignment.CENTER
    page.horizontal_alignment = ft.CrossAxisAlignment.CENTER

    page.add(
        ft.Text('The cowboy is riding a tiger'),
        ft.Image('./tiger.jpg', width=300, height=250),
        
        ft.Text('The cowboy is riding a tiger'),
        ft.Image('tiger.jpg', width=300, height=250),
    )

ft.app(target=main)

Expected result
image

Result
image

  1. Weird animation when swiping right on iOS.
    I've already opened a discussion about this in The swipe transition works strangely #2110, and the problem has remained the same since then. In that context, it's hard to notice if the app is small. But when the app gets bigger, it's much more noticeable—here's an additional video. I should also mention that when I press the back button, there's no issue. The problem only occurs when I swipe right to close the current page. This issue can be reproduced with the code in The swipe transition works strangely #2110.
IMG_2615.MP4

Besides that, I've noticed that this also happens in the Flet app from the App Store.

I haven't tested on other iPhones.
I have an iPhone SE 2016 with iOS 15.7.5
flet 0.22.0
Python 3.11.8

This text was translated with the help of ChatGPT.

@Klu1d Klu1d changed the title An update is required for the Flet SDK. An update is required for the Flet SDK Apr 21, 2024
@FeodorFitsner
Copy link
Contributor

Closing in favour of #3096

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants