Browse Source

style: optimize mentions dropdown in RTL (#23076)

pull/23080/head
xrkffgg 5 years ago
committed by GitHub
parent
commit
192146d2a2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/mentions/index.tsx
  2. 2
      package.json

1
components/mentions/index.tsx

@ -156,6 +156,7 @@ class Mentions extends React.Component<MentionProps, MentionState> {
notFoundContent={this.getNotFoundContent(renderEmpty)}
className={mergedClassName}
disabled={disabled}
direction={direction}
{...mentionsProps}
filterOption={this.getFilterOption()}
onFocus={this.onFocus}

2
package.json

@ -115,7 +115,7 @@
"rc-dropdown": "~3.0.0",
"rc-field-form": "~1.1.0",
"rc-input-number": "~4.5.4",
"rc-mentions": "~1.0.0",
"rc-mentions": "~1.1.0",
"rc-menu": "~8.0.1",
"rc-notification": "~4.0.0",
"rc-pagination": "~2.2.0",

Loading…
Cancel
Save