Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

tabs: md-no-select-click does not behave as intended #10947

@coldshine

Description

@coldshine

As it stated in the docs of md-no-select-click

When enabled, click events will not be fired when selecting tabs

I want to turn this feature on. But it looks like setting this attribute to true in md-tabs directive doesn't make any changes.

I've checked the source code.
It looks like this attribute involved here only

if (canSkipClick && ctrl.noSelectClick) return;

So if I want this condition to be true I have to set canSkipClick to true as well.
How can I do this?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions