ui-pager icon indicating copy to clipboard operation
ui-pager copied to clipboard

fix(ios): Layout children when reusing cell

Open jcassidyav opened this issue 1 year ago • 0 comments

If you have for example a Label that on slide 4 becomes two lines where as on slide 1-3 it is one line, when slide 4 is shown it will be truncated because the the view has not been re-layed out for the new data.

If on line: https://github.com/nativescript-community/ui-pager/blob/443ac1b6aa528b3e0a9c9e60906bc7edf56c3995/src/ui-pager/index.ios.ts#L1149

The check for iosOverflowSafeAreaEnabled is removed, then the View.layoutChild is called and all appears to be well.

jcassidyav avatar May 23 '23 14:05 jcassidyav