Closed darkwebdev closed 5 years ago
activation="manual"
space
enter
Possible cause: https://github.com/eBay/ebayui-core/blob/c019071ef7925e66186ee4b0eff68b3ccaa3c87f/src/components/ebay-tab/index.js#L40
in the function that handles space/enter presses:
eventUtils.handleActionKeydown(event, () => { event.preventDefault(); if (this.state.activation === 'auto') { this.setIndex(el.dataset.index); } });
condition is mistakenly inverted and should be this.state.activation === 'manual'
this.state.activation === 'manual'
@darkwebdev thanks for reporting.
@seangates let's investigate and try and get a fix out this week for 4.2.0-1.
Fixed for v4.2.0
Bug Report
eBayUI Version: 4.0.0
Description
activation="manual"
examplespace
orenter
Workaround
Possible cause: https://github.com/eBay/ebayui-core/blob/c019071ef7925e66186ee4b0eff68b3ccaa3c87f/src/components/ebay-tab/index.js#L40
in the function that handles
space
/enter
presses:condition is mistakenly inverted and should be
this.state.activation === 'manual'