-
Notifications
You must be signed in to change notification settings - Fork 896
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
update brave-ui for tip site banner image fix #2566
Conversation
8043a41
to
389cdd5
Compare
389cdd5
to
f0ea60f
Compare
f0ea60f
to
24d9464
Compare
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.
Tested works great. Apart from the changes requested, I'm worried about a flash-of-change-of-height when the image loads after the dialog displays and then subsequently pushes the dialog taller. However, I would be happy to get this in to a build and see how serious the issue is in the real world. We could then either revert or fix in a number of different ways.
I'm not sure what causes the initial flash at the wrong size. If it's based on some provided height estimate, we can adjust that. |
24d9464
to
8f16896
Compare
@cg505 I assume it's the difference between the non-loaded image and the loaded image, or the non-custom image and the custom image? |
8f16896
to
f9adb1f
Compare
f9adb1f
to
dcb2cb2
Compare
This avoids super tall tip dialogs while preserving the aspect ratio of the banner images.
dcb2cb2
to
5e1813e
Compare
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.
LGTM, let's check on any flashes of height when the dialog learns about the existence of a custom banner. If something is noticeable then we can follow-up.
Merging as previous build passed all checks. Most recent push was simply updating brave-ui after merge. https://staging.ci.brave.com/job/brave-core-build-pr/job/PR-2566/5/ |
Updated milestone to be master (0.69.x) since I didn't see this get uplifted |
See brave/brave-ui#484.
Changes from brave-ui: brave/brave-ui@1fd91fa...0220a24
Resolves brave/brave-browser#2015
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests && npm run test-security
) onnpm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
See test plan in brave/brave-ui#484.
Reviewer Checklist:
After-merge Checklist:
changes has landed on.