-
Notifications
You must be signed in to change notification settings - Fork 973
Connection info click area is on the urlbarIcon, should be on urlbarIconContainer #7888
Comments
The current clickable are is the same as Chrome fyi |
Yes. Since we don't have any text next to the padlock it makes sense to have the entire urlbarIconContainer clickable. Users might be used to click on the text next to padlock and would expect the similar behavior. Just makes it easy to view. |
this is a super important one to fix- do you think you could check this out @luixxiul? Moving to 0.14.3 for now |
Fine, I will add another container inside I don't think it is a good idea to make all of |
@luixxiul I think that's a great point- @bradleyrichter would we be interested in adding a border? |
a border? I like Chrome's "border". Invisible. ; ) |
@srirambv Working on it! |
Awesome! thanks, @MargarytaChepiga 😄 I assigned the issue to myself to reserve it for you- let us know if you need any help 😄 |
@bsclifton Great! Thank you! |
So I've been working on the issue for a few days now, and I haven't done much progress. I've been looking at urlbar.js and urlBaricon.js files to find and understand how the urlbarIcon get's clickable, but it is still unclear to me. I would really appreciate any help/tips on how I could tackle this issue. Thanks! |
@MargarytaChepiga browser-laptop/app/renderer/components/navigation/urlBarIcon.js Lines 124 to 130 in cd99dc6
The onClick function is bound to the component here:
And the onClick function is set to the onClick attribute here:
The onClick function in urlBarIcon.js needs to be moved over to urlBar.js. Then, the onClick attribute of the urlbarIconContainer (on both lines 500 and 506) can be set to the new function. browser-laptop/app/renderer/components/navigation/urlBar.js Lines 498 to 510 in cd99dc6
|
@LiunkaeThat helps a lot! Thank you so much! |
Made urlBarIconContainer clickable to display connection info. Fix #7888
…Fix brave#7888" This reverts commit fdaf153.
Test plan
Secure connection
modal should come up (even near the edges)Original issue description
Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
The click area is pretty small limited only to the urlbaricon, even a little off causes the click to be not captured. The click should be on the urlbarIconContainer which increases the hit area
Platform (Win7, 8, 10? macOS? Linux distro?):
All
Brave Version (revision SHA):
Brave 0.14.0
rev ffa6f8f
Steps to reproduce:
All other browser has the large click area to show the connection info window/modal
Actual result:
Connection info click area is on the urlbarIcon, should be on urlbarIconContainer
Expected result:
Connection info not shown if the click is off by a marginal amount
Will the steps above reproduce in a fresh profile? If not what other info can be added?
Yes
Is this an issue in the currently released version?
Yes
Can this issue be consistently reproduced?
Yes
Extra QA steps:
1.
2.
3.
Screenshot if needed:
What it is now
What it should be
Any related issues: Make entire bookmarkButtonContainer clickable to add/edit a bookmark #6704
cc: @bradleyrichter @bsclifton
The text was updated successfully, but these errors were encountered: