react-json-view icon indicating copy to clipboard operation
react-json-view copied to clipboard

Bug: shortenTextAfterLength isn't adhering to provided prop

Open CamdenFoucht opened this issue 1 year ago • 3 comments

Hello,

I was testing the new shortenTextAfterLength prop and it seems to always use 20 even when a custom length such as 200 is being provided.

I also tried using 0 to disable the feature, and seems it was still shortening text to the default of 20

Also could the default be made higher? I think 20 is slightly too short, I think 80 or 100 would be a better default value for this property 🙂

CamdenFoucht avatar Sep 20 '23 18:09 CamdenFoucht