Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70433

Is there a way to tell if an alert needs scrolling to read more?

$
0
0

@doron wrote:

I am using a generic help alert service that has a function that takes a text message as input and displays the alert with an ‘OK’ button to dismiss it.

When the message is too long for the alert window, the user can scroll to read more.

This works perfectly.

However, from a UX perspective, I’d like to tell the user to scroll in order to read more - perhaps I’ll use a subHeader that says ‘(scroll for more)’ or maybe put three dots at the bottom.

But I can’t figure out how to programmatically know if the scroll area is overflowing and needs scrolling by the user or not.

Is there a way to know that within the code?

Thanks for any pointers!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70433

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>