Skip to content

Prevent hover/click on disabled .close links#26899

Merged
MartijnCuppens merged 1 commit intotwbs:v4-devfrom
ysds:patch-3
Oct 30, 2018
Merged

Prevent hover/click on disabled .close links#26899
MartijnCuppens merged 1 commit intotwbs:v4-devfrom
ysds:patch-3

Conversation

@ysds
Copy link
Copy Markdown
Contributor

@ysds ysds commented Jul 17, 2018

The .close is supported with <a>, but it is still hoverable/clickable when it is disabled with the .disabled class. This PR prevents hover/click on disabled .close links.

Demo:

@MartijnCuppens
Copy link
Copy Markdown
Member

Unfortunately, pointer-events is not supported in IE10

@ysds
Copy link
Copy Markdown
Contributor Author

ysds commented Jul 18, 2018

@ysds
Copy link
Copy Markdown
Contributor Author

ysds commented Jul 18, 2018

I’ll add commit later to prevent visual changes on IE10.

@XhmikosR
Copy link
Copy Markdown
Member

@MartijnCuppens: LGTY?

Comment thread scss/_close.scss Outdated
@MartijnCuppens
Copy link
Copy Markdown
Member

Just for confirmation: LGTM now.

@XhmikosR
Copy link
Copy Markdown
Member

I still can't merge until the GitHub situation is over :P

@XhmikosR
Copy link
Copy Markdown
Member

@ysds: can you fetch upstream and rebase?

@XhmikosR
Copy link
Copy Markdown
Member

@ysds: this is not a rebase.

@ysds
Copy link
Copy Markdown
Contributor Author

ysds commented Oct 30, 2018

@XhmikosR yes.. I made some mistake. What should I do?

@XhmikosR
Copy link
Copy Markdown
Member

Let me fix it for you. You can read a bit about interactive git rebase for the future :)

@ysds
Copy link
Copy Markdown
Contributor Author

ysds commented Oct 30, 2018

Thanks :)

@MartijnCuppens MartijnCuppens merged commit eb5d0b4 into twbs:v4-dev Oct 30, 2018
@mdo mdo mentioned this pull request Oct 30, 2018
@ysds ysds deleted the patch-3 branch November 4, 2018 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants