Long image can not show in full screen on Android.
See original GitHub issueOath
I swear that I have completed these tasks before submitting:
- [√ ] I have read the contribution guidelines here: https://git.io/JJ0Pg
- [√ ] I have read the documentation here: https://git.io/JJcAl
- [√ ] I have confirmed that this bug has not been reported yet
Decision table
- [ √] My issue does not look like “The HTML attribute ‘xxx’ is ignored” (unless we claim support for it),
- [√ ] My issue does not look like “The HTML element
<yyy>
is not rendered”
Bug Report
Setup
React Native
<HTML imagesMaxWidth={411} html={'<img src="https://images.xueyue.com.cn/upload/course/20200516/b4b0089653f1e9efb49623b92e5935f5.jpg"/>'} />
My phone’s width is 411. The picture’s original size is 751x4876. But I can’t show this picture in full screen.
Libraries
- react-native-render-html:
- react-native-webview:
Devices
- Samsung Galaxy S20+
Issue Analytics
- State:
- Created 3 years ago
- Comments:12
Top Results From Across the Web
Image does not display in full screen when ImageView is clicked
I wanted to display the full screen of my bitmap image(selected from gallery or captured image) when the imageView is clicked. imageView ....
Read more >Why can't I view Google images in full screen anymore on my ...
I don't like the change. However you can still view the full image by long-pressing the image, then tapping Open Image In New...
Read more >Cannot view my photos in full screen (no black frames)
Facing same issue, black bar is showing in every photo, tried all setting but photo is not showing in full screen. Last edited...
Read more >Apps are not full screen on Samsung phone
Apps are not full screen on Samsung phone · Go to Display. Navigate to Settings, and then tap Display. Tap Full screen apps....
Read more >FIX FULL-SCREEN ISSUE ON YOUTUBE - for Android phones
In this video I'm showing you how to fix the full screen issue (zooming-in) on the Android YOUTUBE app. I have this full...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Bruce-Ming https://meliorence.github.io/react-native-render-html/docs/content/images#by-reusing-internal-building-blocks ; just replace
IMGElementContentSuccess
with your FastImage-based component.Yes, this is the problem with react native Image components, react native FastImage is fine and I found that this library renders images using Image, so how do I replace Image with FastImage. i just saw some examples of custom renderers, but I didn’t find how to replace