Skip to content

[5.x]: Clicking through matrix tabs quickly triggers double-click handler #14791

@jamesedmonston

Description

@jamesedmonston

What happened?

Description

When a matrix block has tabs, clicking through them quickly triggers the double-click handler and minimises the block.

Screen.Recording.2024-04-11.at.11.41.12.mov

Steps to reproduce

  1. Create a matrix field with tabs
Screenshot 2024-04-11 at 11 46 21

Expected behavior

Clicking through the tabs at any speed should change the active tab.

Actual behavior

Clicking through the tabs quickly triggers the double-click handler, minimising the matrix block.

Craft CMS version

5.0.3

PHP version

8.2.11

Operating system and version

Linux 4.15.0-213-generic

Database type and version

MySQL 8.3.0

Image driver and version

No response

Installed plugins and versions

  • CKEditor 4.0.3
  • DigitalOcean Spaces Filesystem 3.0.0-beta.1
  • Hyper 2.0.0-beta.7
  • Navigation 3.0.0-beta.2
  • SEO v5.0.0-rc1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions