clarin-eric / fcs-sru-aggregator

CLARIN Federated Content Search v3 Aggregator – Augmenting your Search Engine
GNU General Public License v3.0
7 stars 2 forks source link

Disable mouse interaction for hidden remove buttons in FCS-QL query builder #37

Closed Querela closed 1 year ago

Querela commented 2 years ago

The query builder for FCS-QL queries hides the remove buttons for OR/AND query tokens but a mouse click will still remove the entities. This can result in invalid query states. Using pointer-events: none, mouse interaction (clicks) will be blocked. (The cursor: default will be ignored, so I removed it.) Supported in most browsers: https://caniuse.com/pointer-events

Querela commented 1 year ago

In #51 .