hivivo / ngx-json-viewer

JSON formatter and viewer in HTML for Angular
MIT License
174 stars 72 forks source link

Json not refreshing inside scrollable div window #22

Open amex132 opened 5 years ago

amex132 commented 5 years ago

Can you kindly enhance or post a separate example of your Json viewer that scrolls horizontally and vertically.

I've just enclosed mine in a simple scrollable div.

I see the scrollbars, but they don't scroll, nor does your Json viewer refresh in the div. It's likely something on my end but posting an example should help and would be appreciated! Thanks.

phil123456 commented 5 years ago

yes, me neither, I'll have to use another component :-(

oYo-fr commented 5 years ago

It seems it is because the first node inside the viewer after dom binding has a style property overflow set to hidden instead of auto... Maybe it is possible to find a css trick to get around this bug...

sunilmondal4you commented 4 years ago

I am facing the same issue, when we collapse the json, some part of json getting hide, its overflow in any direction must be auto.