Pārlūkot izejas kodu

fix:emoji Popover

zhengyingya 5 gadus atpakaļ
vecāks
revīzija
6cbbfc712c
2 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 1
    1
      package.json
  2. 2
    1
      src/components/Editor/index.js

+ 1
- 1
package.json Parādīt failu

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

+ 2
- 1
src/components/Editor/index.js Parādīt failu

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