Browse Source

fix:emoji Popover

zhengyingya 5 years ago
parent
commit
6cbbfc712c
2 changed files with 3 additions and 2 deletions
  1. 1
    1
      package.json
  2. 2
    1
      src/components/Editor/index.js

+ 1
- 1
package.json View File

14
   },
14
   },
15
   "private": true,
15
   "private": true,
16
   "dependencies": {
16
   "dependencies": {
17
-    "antd": "^3.6.6",
17
+    "antd": "^3.19.3",
18
     "axios": "^0.18.0",
18
     "axios": "^0.18.0",
19
     "dayjs": "^1.7.2",
19
     "dayjs": "^1.7.2",
20
     "js-cookie": "^2.2.0",
20
     "js-cookie": "^2.2.0",

+ 2
- 1
src/components/Editor/index.js View File

222
                   trigger="click"
222
                   trigger="click"
223
                   placement={emojiPopoverPlacement}
223
                   placement={emojiPopoverPlacement}
224
                   autoAdjustOverflow={false}
224
                   autoAdjustOverflow={false}
225
+                  overlayStyle={{ zIndex: 999 }}
225
                   content={
226
                   content={
226
                     <div
227
                     <div
227
-                      style={{ width: 240 }}
228
+                      style={{ width: 240, height: 205 }}
228
                       onWheel={this.handleEmojiScroll}
229
                       onWheel={this.handleEmojiScroll}
229
                     >
230
                     >
230
                       <Emoji
231
                       <Emoji