click=“” does not works with tabindex='0'

前端 未结 0 1321
误落风尘
误落风尘 2021-01-22 07:34

Here\'s my code.

The click works without tabindex but when i add tabindex=\'0\' and hit enter when the element is focused, it doesn’t works.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题