Open ghost opened 8 years ago
In the demo you can see how @djett41 handles long messages. He does it by looping over different pieces of the message.
Example:
contentBannerInstance = $ionicContentBanner.show({
text: ['System Unavailable', 'Please try again later.'],
interval: 3000,
autoClose: 10000,
type: bannerType,
transition: transition || 'vertical'
});
When I try displaying a rather long error message 'Your request could not be completed. Please try again later', the text is displayed on 2 lines but the content-banner is only 30px high. This makes the second line invisble as the background of our app is white.
How should long error messages be handled?