-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] popover: adjusted z-index for popovers
In these commit three separate issues has been resolved. 1. Fixed an issue where the drop-down menu was appearing behind the Grid Composer due to a lower z-index. The problem was resolved by increasing its z-index. 2. Addressed a problem that occurred when both the Grid Composer and TopBar Composer were active simultaneously, since they shared the same z-index value. Two enums were created to resolve this issue, with the Grid Composer being given its own component, and the z-index for the TopBar Composer being set in the composer.ts file. 3. Solved an issue where Popovers were appearing on top of the Composer Assistant because they had a higher z-index value. A new enum called GridPopover was introduced, so that whenever a call is made from grid_popover.ts, the z-index value will be set to GridPopover enum. Otherwise, the z-index value for Popovers remains the same. task-3211697 closes #2279 Signed-off-by: Rémi Rahir (rar) <[email protected]>
- Loading branch information
Showing
10 changed files
with
41 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`link display component simple snapshot 1`] = ` | ||
"<div class=\\"o-popover\\" style=\\"display: block; max-height: 962px; max-width: 985px; top: 49px; left: 48px;\\"><div class=\\"o-link-tool d-flex align-items-center\\"><!-- t-key to prevent owl from re-using the previous img element when the link changes. | ||
"<div class=\\"o-popover\\" style=\\"z-index: 19; display: block; max-height: 962px; max-width: 985px; top: 49px; left: 48px;\\"><div class=\\"o-link-tool d-flex align-items-center\\"><!-- t-key to prevent owl from re-using the previous img element when the link changes. | ||
The wrong/previous image would be displayed while the new one loads --><img src=\\"https://www.google.com/s2/favicons?sz=16&domain=https://url.com\\"><a class=\\"o-link\\" target=\\"_blank\\" href=\\"https://url.com\\" title=\\"https://url.com\\">https://url.com</a><span class=\\"o-link-icon o-unlink\\" title=\\"Remove link\\"><svg class=\\"o-icon\\" viewBox=\\"0 0 512 512\\"><path fill=\\"currentColor\\" d=\\"M304.083 405.907c4.686 4.686 4.686 12.284 0 16.971l-44.674 44.674c-59.263 59.262-155.693 59.266-214.961 0-59.264-59.265-59.264-155.696 0-214.96l44.675-44.675c4.686-4.686 12.284-4.686 16.971 0l39.598 39.598c4.686 4.686 4.686 12.284 0 16.971l-44.675 44.674c-28.072 28.073-28.072 73.75 0 101.823 28.072 28.072 73.75 28.073 101.824 0l44.674-44.674c4.686-4.686 12.284-4.686 16.971 0l39.597 39.598zm-56.568-260.216c4.686 4.686 12.284 4.686 16.971 0l44.674-44.674c28.072-28.075 73.75-28.073 101.824 0 28.072 28.073 28.072 73.75 0 101.823l-44.675 44.674c-4.686 4.686-4.686 12.284 0 16.971l39.598 39.598c4.686 4.686 12.284 4.686 16.971 0l44.675-44.675c59.265-59.265 59.265-155.695 0-214.96-59.266-59.264-155.695-59.264-214.961 0l-44.674 44.674c-4.686 4.686-4.686 12.284 0 16.971l39.597 39.598zm234.828 359.28l22.627-22.627c9.373-9.373 9.373-24.569 0-33.941L63.598 7.029c-9.373-9.373-24.569-9.373-33.941 0L7.029 29.657c-9.373 9.373-9.373 24.569 0 33.941l441.373 441.373c9.373 9.372 24.569 9.372 33.941 0z\\"></path></svg></span><span class=\\"o-link-icon o-edit-link\\" title=\\"Edit link\\"><svg class=\\"o-icon\\" viewBox=\\"0 0 576 512\\"><path fill=\\"currentColor\\" d=\\"M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z\\"></path></svg></span></div></div>" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters