question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Long image can not show in full screen on Android.

See original GitHub issue

Oath

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:closed
  • Created 3 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
jsamrcommented, Oct 10, 2021
0reactions
Bruce-Mingcommented, Oct 10, 2021

@gnattu Thank you for your thorough investigation. Indeed, that looks like an upstream limitation; worth adding a note regarding this issue in the help section!

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found