Closed jithinbp closed 7 years ago
@niranjan94 the build failed because an eslint rule prohibits nested interactives
error Do not use <button> inside an element with
role="tabpanel"nested-interactive
Googling isn't turning up any pointers. Why is this prohibited? Does this mean tabs cannot have any interactive matter like buttons, textarea, sliders etc?
@niranjan94 I've still got nothing on why It's not allowed.
Is there an eslint rule I can override, or should I close this PR and implement the show-source
feature as a toggle or something (Even that is probably a case of nested-interactive
) ?
Rule reference:
For now, remove role="tabpanel"
@niranjan94 please merge this. I took care of the eslint issue.
I also included the following in this PR: