amlcloud / screensite

4 stars 6 forks source link

Ansh jsonviewerv2 bug fix #215

Closed anshuman-111 closed 1 year ago

anshuman-111 commented 1 year ago

Fixed JSON Viewer Bug

Fix works for flutter run -d chrome --release

Bug Report from Chrome Console

Another exception was thrown: Instance of 'minified:kh\\'

Cause of Bug

1. Premature Optimization

2. Use of Expanded as an indirect descendant of Row

Steps taken to fix bug

1. Commented out previous changes one by one

2. Replaced new code with old code for testing

3. Remove Expanded widget that was wrapping GestureDetector in JsonObjectViewerStateV2.getValueWidget(content)

UI Preview after fix

Screenshot (28)