react-native-webview-autoheight icon indicating copy to clipboard operation
react-native-webview-autoheight copied to clipboard

Doesn't update height after changing html source?

Open dzpt opened this issue 8 years ago • 4 comments

It works for the first load. Then after changing html source, the height stay the same.

dzpt avatar Sep 01 '17 04:09 dzpt

I'm not positive that this is related, but it also doesn't resize the width after rotating the screen. It's possible I've done something dumb somewhere though.

ckeeney avatar Sep 21 '17 22:09 ckeeney

@Tom29 @ckeeney could you check what could be the problem? I'm currently off react native for a while. Also appreciate if you can send a PR

scazzy avatar Sep 28 '17 12:09 scazzy

@Tom29 change state webHeight when your changing html source

sutani avatar Jan 18 '18 09:01 sutani

I'm not positive that this is related, but it also doesn't resize the width after rotating the screen. It's possible I've done something dumb somewhere though.

I'm having this issue - or similar, it's not setting the autoHeight properly after rotation - any workaround?

JeremyBradshaw7 avatar Dec 11 '18 09:12 JeremyBradshaw7