Problem/Motivation

When you click on to add element you will find there are two close icons.

Steps to reproduce

  • Install webform module.
  • Go to build page.
  • Click on add element
  • Type in input

Proposed resolution

Remove icon which is coming on hover.

Comments

djsagar created an issue. See original summary.

danrod’s picture

StatusFileSize
new127.83 KB

I had a look on this and I was able to see the extra "close" icon on Chrome (Ubuntu 22.04), but I wasn't able to replicate (see) this on Firefox.

jrockowitz’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

I am not able to replicate this via OSX Chrome - Version 115.0.5790.170 (Official Build) (arm64)

What version of Chrome are you using on Ubunti

Ozle’s picture

StatusFileSize
new91.46 KB

I tested this on

Chrome 116.0.5845.96 (Official Build) (arm64)
Firefox 115.0.2
Safari 16.2 (18614.3.7.1.5)

but couldn't replicate it.

duplicated close button

danrod’s picture

StatusFileSize
new92.98 KB

Version 115.0.5790.170 (Official Build) (64-bit) - Ubuntu 22.04 - AMD Ryzen 3 4300U with Radeon Graphics

jrockowitz’s picture

Version: 6.2.x-dev » 6.1.x-dev
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new616 bytes

It looks like Chrome is adding the X to the search input.
@see https://stackoverflow.com/questions/32312348/how-to-show-x-clear-in-chro...

We don't want to convert the search input to a text field.

The attached patch, which I could not test, adds the Chrome-specific CSS to hide the X.

danrod’s picture

StatusFileSize
new44.48 KB

Thanks @jrockowitz I can confirm that the patch is working for me (Chrome on Ubuntu)

djsagar’s picture

Status: Needs review » Reviewed & tested by the community

I applied patch #6 is working fine and fixed the issue on Chrome 116.0.5845.96.

jrockowitz’s picture

Status: Reviewed & tested by the community » Fixed
jrockowitz’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.