Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip, Dropdown, Popover: support tabindex attribute #15167

Merged
merged 3 commits into from Apr 23, 2019

Conversation

ziyoung
Copy link
Contributor

@ziyoung ziyoung commented Apr 18, 2019

Closes #11875
Closes #11519
Closes #11512

@ziyoung ziyoung added this to the 2.8.0 milestone Apr 18, 2019
@element-bot
Copy link
Member

element-bot commented Apr 18, 2019

Deploy preview for element ready!

Built with commit bfb973e

https://deploy-preview-15167--element.netlify.com

@ziyoung ziyoung merged commit 070bf1f into ElemeFE:dev Apr 23, 2019
@ziyoung ziyoung deleted the tabindex branch April 23, 2019 07:36
@@ -113,6 +117,9 @@ export default {
on(reference, 'mouseleave', this.handleMouseLeave);
on(popper, 'mouseleave', this.handleMouseLeave);
} else if (this.trigger === 'focus') {
if (this.tabindex < 0) {
console.warn('[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: 'taindex'

FAKER-A pushed a commit to FAKER-A/element that referenced this pull request May 7, 2019
weisiren168 pushed a commit to weisiren168/element that referenced this pull request Jun 20, 2019
lzq4047 pushed a commit to lzq4047/element that referenced this pull request May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants