BrunoJurkovic / flip_card

A Flutter widget that easily adds the flipping animation to any widget
BSD 3-Clause "New" or "Revised" License
345 stars 103 forks source link

[BUG] Flip Card Makes the Web App Crashes When Accessed on Mobile. #82

Open ibrafayez opened 1 year ago

ibrafayez commented 1 year ago

I have developed a flutter app and it can be accessed on web. However when I accessed the website app on mobile (In my case iPhone) and I scroll into view of the cards the app crashes or turns to the loading the app state (I have to refresh the page and not make the cards in view).

Expected Behavior

It was working fine before with no problem, suddenly the app started crashing after a while. This problem doesn't happen when accessed on desktop.

Current Behavior

The app crashes whenever flip cards are in view. even if you refresh the page.

Possible Solution

I tried everything updating dependencies, changing what the cards contains still same.

Steps to Reproduce

  1. Access the website on mobile
  2. Scroll till cards start to be in view
  3. the app crashes to the loading state.

Context (Environment)

The weird thing is it happens only on mobile even if a change the browser, I tried both safari and chrome. It doesn't happen when accessed on desktop.

Detailed Description

Possible Implementation

Maybe it has a conflict with one of my other dependencies or maybe with flutter new version it's not compatible.

ibrafayez commented 1 year ago

Hey, Could you please replay to my message

Thanks

ciriousjoker commented 1 year ago

@ibrafayez Sorry I must have missed it.

Side note: On iOS, everything is Safari, including Chrome.

  1. Can you test if you can reproduce this in Safari Desktop, Chrome Desktop and Chrome on Android?
  2. Can you test older versions of this package and different Flutter versions?
  3. I assume this occurs with the example included in the repository?

I currently don't have an iPhone to test this myself.