dist/js/flarej.js
function clone(item) {
          if (!foundFirst && selectedKeys.indexOf(item.key) !== -1 || !foundFirst && !selectedKeys.length && firstActiveValue.indexOf(item.key) !== -1) {
            foundFirst = true;
            return Object(__WEBPACK_IMPORTED_MODULE_4_react__["cloneElement"])(item, {
              ref: function ref(_ref) {
                _this2.firstActiveItem = _ref;
              }
            });
          }
          return item;
        }
function clone(item) {
          if (!foundFirst && selectedKeys.indexOf(item.key) !== -1 || !foundFirst && !selectedKeys.length && firstActiveValue.indexOf(item.key) !== -1) {
            foundFirst = true;
            return Object(__WEBPACK_IMPORTED_MODULE_4_react__["cloneElement"])(item, {
              ref: function ref(_ref) {
                _this2.firstActiveItem = _ref;
              }
            });
          }
          return item;
        }
function clone ( item ) { if ( ! foundFirst && selectedKeys . indexOf ( item . key ) !== - 1 || ! foundFirst && ! selectedKeys . length && firstActiveValue . indexOf ( item . key ) !== - 1 ) { foundFirst = true ; return Object ( __WEBPACK_IMPORTED_MODULE_4_react__ [ "cloneElement" ] ) ( item , { ref : function ref ( _ref ) { _this2 . firstActiveItem = _ref ; } } ) ; } return item ; }
set firstActiveItem via cloning menus for scroll into view
set firstActiveItem via cloning menus for scroll into view