aunnnn / MovingNumbersView

Moving numbers effect in SwiftUI
MIT License
280 stars 7 forks source link

Single-digit numbers are invisible on iOS 15 #3

Open dinotrnka opened 3 years ago

dinotrnka commented 3 years ago

For some reason, single-digit numbers are invisible on iOS 15.

On iOS 14 everything works well.

simonarcher commented 3 years ago

The problem appears to be with the fixedWidth default value. If you assign it a fixedWidth value (play around with a value that works for you), then you can get it to show. Ive managed to work around with that solution for now.

MrMaxxan commented 3 years ago

The problem with fixed width is if I want to have the text centered. Any workaround for that?

infxmousrogue commented 2 years ago

Is there any update on this? The fixedWidth workaround isn't working for me?