-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
RN: fix heading anchor control #33125
Conversation
Let's remove the external link for now.
Size Change: 0 B Total Size: 1.05 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the changes on an iPhone SE and Pixel 3a emulator. The results were as expected. 👍🏻
If @iamthomasbishop agrees with removing the external link as the appropriate fix, the code here looks good to me. That said, my personal thought is that it makes more sense to retain both the help text and link and appropriately style it for mobile. WDYT?
It looks like the help text was enabled in #30885, and we may have overlooked this one instance having styling issues. Regardless of what we land on, thank you for taking the time to put this fix together. Much appreciated!
I agree that the link is super helpful. I tried to make it display on the next line but I wasn't able to. :( The styles that I was applying to position things were mostly being ignored. Could it be because I was styling the trying to style an element that was already inside an element? Will try again tomorrow. |
It would appear that the styling issue may be related to nesting a Also, I'm not sure what you have tried thus far, but any styles prop set to If you continue to run into issues, let me know and I am happy to pull it down and see if I observe any opportunities. |
@enejb @dcalhoun Ideally allowing inline links in this type of scenario would be nice for future flexibility, but I’d also be fine with removing the link as a stop-gap fix with the expectation that the next iteration will include a link (whether that means pushing the link to a new row or an inline link). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me, and I agree it is an appropriate stop-gap fix for the time being. Verified the changes worked as expected, as mentioned earlier.
Description
This Pr tries to fix the way the anchor setting looks in the mobile app.
I am not sure if this is the right fix. Should we remove the whole text on mobile?
cc: @iamthomasbishop
How has this been tested?
Screenshots
Before:
After:
Types of changes
Bug fix
Checklist:
*.native.js
files for terms that need renaming or removal).