Closed FWJonathan closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity.
This issue still exists in 3.2.0
If you attempt to call
applyStyling
with font changes on aGrowingNotificationBanner
before adding to the queue, there is a crash on a force unwrap ofbannerPosition
inonOrientationChanged()
(called byupdateBannerHeight()
).If you call
applyStyling
after adding to the queue, it is too late for font changes to be considered when evaluating the banner height.Perhaps the
applyStyling
info could be passed into theGrowingNotificationBanner
init (similarly tocolors
). so that the height resolution can be deferred until an appropriate moment.