Closed Sokcevic closed 4 months ago
@Sokcevic any chances of this breaking?
stateManager.scroll.bodyRowsVertical!
I've changed it to if(!mounted). It works as well and is easier to understand.
@Macacoazul01 I think that it solves some problems but there are still some. I will try to find out what causes the error and then give an update.
I have tested it again and I can now say that if(!mounted) works perfectly. stateManager.scroll.bodyRowsVertical! would have caused an Exception because setState is called.
Now the LazyPagination checks if the Widget is still mounted after fetching Data.
If you want I can provide a Code Example for yourself to test it
Solves issue #34