-
Notifications
You must be signed in to change notification settings - Fork 440
URL alignment is a bit off #1964
Comments
This only happens with bookmarks button enabled btw |
This issue happens because of this PR: #869 It seems this is 100% intentional. The comment in the code says: // This override is done in case the eTLD+1 string overflows the width of textField.
// In that case the textRect is adjusted to show right aligned and truncate left. Expected behaviour is that the URL shifts over to highlight the |
Despite this being true @Brandon-T it seems to be shifting too far to the left, the |
@jhreis I fixed that part :) It automatically fixed itself when I fixed the |
Looks like the correct fix. Can you confirm if the test cases in #552 are not regressed? The idea is to highlight eTLD+1 when we need to truncate the URL. |
Test Plan
and verify that the eTLD+1 is highlighted. |
Verification passed on iPhone XR with iOS 13.5 running 1.16(20.05.05.12)
Verification passed on iPhone XR with iOS 13.3.1 running 1.16(20.05.05.12)
Verification passed on iPhone 6 with iOS 12.4.5 running 1.16(20.05.05.12)
Marking as iPhone only as iPad URL bar is not small and entire URL is visible with or without the bookmark button |
Description:
Alignment of URLs in address bar is a bit off.
Steps to Reproduce
Actual result:
Only edia.org is displayed in the address bar
Expected result:
wikipedia.org should be displayed
Reproduces how often: [Easily reproduced, Intermittent Issue]
Easily
Brave Version:
v1.13 (19.11.06.18)
Device details:
iPhone SE
The text was updated successfully, but these errors were encountered: