diff --git a/src/controllers/menuButton.js b/src/controllers/menuButton.js index 3b9c31d..d3d472a 100644 --- a/src/controllers/menuButton.js +++ b/src/controllers/menuButton.js @@ -431,6 +431,7 @@ const menuButton = { //luckysheet-icon-fmt-other-menuButton_sub $("body").append(menu+submenu); $menuButton = $("#" + menuButtonId).width(250); + _this.focus($menuButton); $menuButton.find(".luckysheet-cols-menuitem").click(function(){ $menuButton.hide(); diff --git a/src/controllers/mobile.js b/src/controllers/mobile.js index 04af798..657815c 100644 --- a/src/controllers/mobile.js +++ b/src/controllers/mobile.js @@ -9,8 +9,6 @@ export default function mobileinit(){ //去除滚动条 Store.cellMainSrollBarSize = 0; - - //滑动滚动表格 let luckysheet_touchmove_status = false, luckysheet_touchmove_startPos = {},