showing results for - "jquery detect if element has overflow"
Angelo
28 Jan 2019
1if ($("#myoverflowingelement").prop('scrollWidth') > $("#myoverflowingelement").width() ) {
2	//this element is overflowing on the x axis
3}
4
5if ($("#myoverflowingelement").prop('scrollHeight') > $("#myoverflowingelement").height() ) {
6	//this element is overflowing on the y axis
7}