Message truncation is not dynamic
Closed this issue · 1 comments
katemenkhaus commented
The expected behavior is that the button 'show more' would only show on alert messages that have text longer than 3 lines.
- Open new-demo branch and run the demo.
- select 'long message' tab
- select other tab and the 'show more' button does not disappear
Branch new-demo
possible problem:
We suspect that there are life-cycle issues with when _checkMessageLength function is being called/implemented. https://github.com/PredixDev/px-alert-message/blob/master/px-alert-message.html#L352
randyaskin commented
Fixed in v0.9.2.