You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I've noticed that the close button for the ui-dialog in the CMS doesn't seem to be rendering correctly.
I only noticed this as I am using it as part of GridFieldAddExistingSearchButton in the symbiote/silverstripe-gridfieldextensions module, but am assuming this modal is standard Silverstripe UI.
How to reproduce
For my uses case, you can install symbiote/silverstripe-gridfieldextensions module so you can use the GridFieldAddExistingSearchButton class on the GridField which triggers the ui-dialog component.
A few steps I found to reproduce:
Opening the modal no red close icon.
Clicking on the modal must focus it which then reveals the red close icon.
Hovering on the close button area then hides the red close icon.
When hovering on the close button, it looks like the .ui-button .ui-icon background image is being changed - I assume for a hover state, but this doesn't seem to be working either.
Here is a reduced code example of my set up to get the modal opening - I'm using fromholdio/silverstripe-minigridfield purely for a condensed view in the CMS:
I took a look at the code in browser dev tools and saw the background image of the ui-button-icon ui-icon is being changed on hover to a data:image/png but this doesn't seem to be getting the righti mage - I assume this is for a hover state.
I'm not sure of the fix here as it looks like this has been done intentionally. The button styling also looks like it needs removing in place of the close icon as the button is square with a solid background, and the close icon is red and circular.
Additional Context
No response
Validations
Check that there isn't already an issue that reports the same bug
Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)
The text was updated successfully, but these errors were encountered:
Module version(s) affected
2.3.5
Description
Hi there, I've noticed that the close button for the
ui-dialog
in the CMS doesn't seem to be rendering correctly.I only noticed this as I am using it as part of
GridFieldAddExistingSearchButton
in thesymbiote/silverstripe-gridfieldextensions
module, but am assuming this modal is standard Silverstripe UI.How to reproduce
For my uses case, you can install
symbiote/silverstripe-gridfieldextensions
module so you can use theGridFieldAddExistingSearchButton
class on the GridField which triggers theui-dialog
component.A few steps I found to reproduce:
When hovering on the close
button
, it looks like the.ui-button .ui-icon
background image is being changed - I assume for a hover state, but this doesn't seem to be working either.Here is a reduced code example of my set up to get the modal opening - I'm using
fromholdio/silverstripe-minigridfield
purely for a condensed view in the CMS:Here are some screenshots:


Possible Solution
I took a look at the code in browser dev tools and saw the background image of the
ui-button-icon ui-icon
is being changed on hover to adata:image/png
but this doesn't seem to be getting the righti mage - I assume this is for a hover state.I'm not sure of the fix here as it looks like this has been done intentionally. The
button
styling also looks like it needs removing in place of the close icon as the button is square with a solid background, and the close icon is red and circular.Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)The text was updated successfully, but these errors were encountered: