@rc-component/select 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/OptionList.js CHANGED
@@ -351,7 +351,7 @@ const OptionList = (_, ref) => {
351
351
  optionTitle = title;
352
352
  }
353
353
  return /*#__PURE__*/React.createElement("div", _extends({}, pickAttrs(passedProps), !virtual ? getItemAriaProps(item, itemIndex) : {}, {
354
- "aria-selected": isAriaSelected(value),
354
+ "aria-selected": virtual ? undefined : isAriaSelected(value),
355
355
  className: optionClassName,
356
356
  title: optionTitle,
357
357
  onMouseMove: () => {
package/lib/OptionList.js CHANGED
@@ -359,7 +359,7 @@ const OptionList = (_, ref) => {
359
359
  optionTitle = title;
360
360
  }
361
361
  return /*#__PURE__*/React.createElement("div", _extends({}, (0, _pickAttrs.default)(passedProps), !virtual ? getItemAriaProps(item, itemIndex) : {}, {
362
- "aria-selected": isAriaSelected(value),
362
+ "aria-selected": virtual ? undefined : isAriaSelected(value),
363
363
  className: optionClassName,
364
364
  title: optionTitle,
365
365
  onMouseMove: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-component/select",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "React Select",
5
5
  "engines": {
6
6
  "node": ">=8.x"