Skip to content

Icons inside of tabs causes errors #446

@nicko-winner

Description

@nicko-winner

Describe the Bug

When clicking tooltip icon in tab user gets a console error.

Steps to Reproduce

  1. Add an icon + tooltip to a tab
  2. Click the icon

Expected behavior

No errors

Screenshots

2019-02-07_11-55-33

related chat: https://rackspace.slack.com/archives/C1ZPBPYKZ/p1549558838021600

Environment

  • Device: Laptop
  • OS: OSX
  • Browser: Chrome
  • Version: Latest
  • React: 15.6

Additional Context

"This is because the tabset is listening for click events and setting the tab based on what was clicked. you clicked the icon, which isn't a tab, so it broke."

Note: This issues does not seem to break any existing functionality it just leaves errors in the logs.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions