NoticeView icon indicating copy to clipboard operation
NoticeView copied to clipboard

Notification view doesn't resize to fit the new width upon device rotation

Open coder007 opened this issue 12 years ago • 3 comments

Hi,

Just noticed that when you show the notification and you rotate the device, the notification that was shown earlier doesn't resize to fit in the new width. This issue becomes obvious when you show the notification on the device vertically and then rotate to horizontal orientation. Any chance to make this automatically expand to fill in the new width?

Thanks for the great component.

Cheers

coder007 avatar Nov 12 '12 06:11 coder007

Hi,

I'll look into that. I foresee potential race conditions while the notice animates and the device rotates. Hopefully the change will be easy to implement. We'll see.

tciuro avatar Nov 22 '12 01:11 tciuro

iOS Simulator Screen shot Dec 24 2012 12 08 37 PM I have the same problem when using 2.4 (latest from cocoaPods) on iPad. The bar isn't resized to fit horizontal orientation.

troelsrichter avatar Dec 24 '12 11:12 troelsrichter

Hi there!.

I do have the same issue. But, it's kind of interesting...

If you try the demo (after enabling all the possible orientations), and fire notifications. It expands nicely. So, a notification that was shown in portrait mode, looks fine when you rotate the device. It makes me thing this bug is not anymore. But, if you just add the WBNoticeView to your project (as I did), you still experience this problem when rotating. What am I missing?

subzerov avatar Feb 18 '13 12:02 subzerov