Can I detect an overflow event in jquery?

I saw this one , but I'm wondering if there is a way to detect an overflow event.

I have a div that changes depending on some jquery code, but then at some point later the contents of this div change, and the css height: auto rule value no longer works because the previous event set the height, so the display messes up.

I want to catch an overflow event so that I can reset the div to auto to increase. Is it possible?

+1
source share
1 answer

I'm not sure if this is generally useful, but I thought it was worth it:

FF: http://help.dottoro.com/ljgsfkbc.php

Chrom and Safari: http://help.dottoro.com/ljbnnejo.php

+3
source

Source: https://habr.com/ru/post/1238154/


All Articles