* Add components-dropdown__content class -- this is for Safari as Safari returns parent element as a related target in this case

* Remove unnecessary style
This commit is contained in:
Moon 2021-07-14 12:28:56 -07:00 committed by GitHub
parent 72cf95c51d
commit a1fb913bc6
4 changed files with 13 additions and 1 deletions

View File

@ -7,6 +7,14 @@
1. Navigate to WooCommerce -> Settings -> Advanced -> Features. Uncheck Analytics and save the changes.
2. Navigate to WooCommerce -> Home and confirm the page loads without an error.
### Fix Fix links on the dismiss dropdown are not clickable #7342
Please make sure to test it on Safari as well.
1. Navigate to WooCommerce -> Home
2. Click [ Dismiss ] button
3. Confirm that the links are clickable
### Fix missing translation strings for CES #7270
1. Navigate to Settings -> General and change the site language to a non-English (I've used Espanol for testing purposes).

View File

@ -0,0 +1,4 @@
Significance: patch
Type: Fix
Fix links on the dismiss dropdown are not clickable #7342

View File

@ -95,6 +95,7 @@ const InboxNoteCard: React.FC< InboxNoteProps > = ( {
const dropdownClasses = [
'woocommerce-admin-dismiss-notification',
'components-popover__content',
'components-dropdown__content',
];
// This line is for IE compatibility.
let relatedTarget: EventTarget | Element | null = null;

View File

@ -128,7 +128,6 @@
}
.components-dropdown {
display: inline;
position: absolute;
.components-popover__content {
min-width: 195px;