Jack Moore

Results 106 comments of Jack Moore

Thanks for the reproduction steps. I don't have time to look into this right this moment, but it sounds like something that I probably won't be able to workaround and...

> When I remove the lines there scrollTop is set, the issue seems to be gone Thanks for the info. > But I guess this is here for a reason....

@jlherren You are correct that would be more efficient. The issue is that won't account for deletions (or cut, or paste of shorter content), so the textarea could only grow...

Thanks for the pull request. This fix is essentially the same as #344, but instead of removing the scroll-position restoration on all ancestor elements you excluded the specific element that...

@dev1z Thanks, I left a comment. I doubt it's fixable if using smooth scrolling because of the approach that autosize takes to computing the height change. There are other approaches...

Not sure how you have things setup, but you'll want to exclude the textarea element from reactive updates (have shouldComponentUpdate return false) since React will replace the inline styles on...

Call `autosize.update(x)`, where `x` is a textarea element, or an array or array-like object (such as a NodeList or jQuery collection). So if you are using jQuery you can call...

I believe you can't use jQuery to trigger a native custom event (it has it's own internal events system that, and you can use trigger to fire a native event...

I don't have experience with Vue, but my guess would be that you need to wait for the changed value to not just change, but for the change to be...

Hi @andyBobro, unfortunately this in incompatible with the approach that autosize is using (it changes the textarea height and measures the scroll overflow, then changes the height to the desired...