Skip to content

Highlighting text causes Firefox to freeze #10396

@ssc-css

Description

@ssc-css

Description of the bug

When i select the text on my page it happens that the Firefox-Tab freeze.
I think it has to do with the tooltips.

Image

Expected behavior

The Firefox should not freeze.

Minimal reproducible example

@Route("test")
@PageTitle("Test")
@Menu(order = 1, icon = "vaadin:clipboard-check", title = "Test")
public class TestView extends Main {

	public TestView() {
		FlexLayout layout = new FlexLayout();
		layout.setFlexDirection(FlexLayout.FlexDirection.COLUMN);

		Button t1 = new Button("test 1");
		t1.setTooltipText("test 1");
		TextField field1 = new TextField("Field 1");
		field1.getTooltip();
		TextField field2 = new TextField("Field 2");
		field2.getTooltip();
		Button t2 = new Button("test 2");
		t2.setTooltipText("test 2");

		layout.add(new H2("Headline"), field1, t1, field2, t2, new H3("EndLine"));
		add(layout);
	}

}

Versions

  • Vaadin / Flow version: 24.9.3
  • Java version: 21
  • OS version: Windows 7
  • Browser version (if applicable): Firefox Browser 144.0 (64-Bit)
  • Application Server (if applicable):
  • IDE (if applicable):

Metadata

Metadata

Assignees

Labels

BFPBug fix prioritised by a customerbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions