Opened 3 years ago
#19046 new defect
Open Dropdown Menu of Scrolling Tab Container position is wrong when resizing
Reported by: | Michael Schall | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Dijit | Version: | 1.10.8 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Dropdown menu of tabs on a Top Scrolling Tab Container does not position itself correctly in IE or Firefox when the screen is resized.
- Open following link in IE or Firefox: http://jsfiddle.net/nathanF/6vm33jgq/
- Resize screen so scrolling tab controls show up
- Open tab list on far right of tab list
- Without closing tab list menu, resize the browser window until scrolling tab controls go away.
Notice the menu moves to the far left and becomes small.
Suggestion is to just close the menu if it is open during resize to match what happens if you click elsewhere on the document.
Patch:
-
ScrollingTabController.js
184 184 var enable = this._enableBtn(this._contentBox.w); 185 185 this._buttons.style("display", enable ? "" : "none"); 186 186 187 // close menu if it is open 188 if (this._menuBtn && this._menuBtn.get("_opened")) { 189 this._menuBtn.closeDropDown(false); 190 } 191 187 192 // Position and size the navigation buttons and the tablist 188 193 this._leftBtn.region = "left"; 189 194 this._rightBtn.region = "right";
Note: See
TracTickets for help on using
tickets.