-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobile Gallery Block - Known Issues #1674
Comments
👋 @mkevins ! I was doing some testing for the 1.19 release, and I noticed a weird issue with gallery block captions on Android. In particular, I was unable to apply formatting if the first word of the caption was highlighted, but I could apply formatting if anything other than the first word was highlighted. 😕 I did not observe this issue for the top-level captions for gallery/image/video blocks. cc: @geriux who I believe is working on refactoring the captions right now in case he's observed anything similar to this. Also, on iOS I observed one time where I was not able to apply any formatting to captions. I have not been able to reproduce this iOS issue, so it seems very likely that this was just a temporary local issue for me, but I wanted to mention it so it was on your radar in case you happened to see something similar. |
Thanks @mchowning for reporting 👍 . I was also able to reproduce this. Additionally, when I added a space in front of the first word (e.g.
One difference we have for gallery captions on Android is the
I wonder if any special handling on the native side for RichText could be resulting in these symptoms, based on some intermittent conditions. In any case, it may be a clue, so thanks for reporting that. |
Just tried setting the tagName |
FWIW, the reason that using |
As we chip away at these issues it might be worth while to take on #2737 as well |
Known issues
This for tracking known issues for mobile gallery block
On the block settings sheet, “Images Size” row label should be “Image Size"
Android - “Link To” and “Image Size” bottom sheets shouldn’t have “Cancel” button
Android - Not specific to the Gallery block (see Video block), but the block settings bottom sheet feels a little tight at the bottom of the sheet. Can we add ~16px under the last list item?
Performance seems to suffer when there are ~15+ gallery images (only seeing this on Android)
This one may be tricky, as I don't believe gradients are supported out of the box in RN. There is a library https://github.com/react-native-community/react-native-linear-gradient, but I didn't see that we are using it. This might require some exploration.
I have added some simple transparent dark style as the caption background for now, but this can be improved in later iterations.
Edit:
react-native-linear-gradient
may soon be included as a dependency and available within the project.Done
button row seems to have an issue (only the button text should be blue, not the whole bar). Visual example: https://cloudup.com/cBNDGxSQRyINote: iOS only, also, might be an issue with
RangeControl
Tracked here: #1767
Replace
Action/Bottom Sheet. Another thing regarding replacement: we might want to show thereplace
icon (see new icon in image block toolbar) when an image is selected. This isn't possible on web but imo it's an obvious thing.Screenshot (Android)
✔️ Fixed issues
Fixed by: Enable gallery upload options in production #1855
Screenshot
PR: #1766
Screenshot
Tracked here: #1764
Screenshot
PR: #1766
Tracked here: wordpress-mobile/WordPress-Android#11063Fixed by: wordpress-mobile/WordPress-Android#11138
The text was updated successfully, but these errors were encountered: