Skip to content

Prevent hover/click on disabled .close links - #26899

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

MartijnCuppens merged 1 commit into
twbs:v4-devfrom
ysds:patch-3

Conversation

@ysds

@ysds ysds commented Jul 17, 2018 •

Copy link
Copy Markdown
Contributor

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

ysds commented Jul 18, 2018

Copy link
Copy Markdown
Contributor Author

@ysds

ysds commented Jul 18, 2018

Copy link
Copy Markdown
Contributor Author

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

ysds commented Oct 30, 2018

Copy link
Copy Markdown
Contributor Author

@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

ysds commented Oct 30, 2018

Copy link
Copy Markdown
Contributor Author

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