Commit Graph

35 Commits

Author SHA1 Message Date
Robin Ward
849c99f83d Remove Discourse.Mobile constants 2016-02-18 12:19:00 -05:00
Robin Ward
eab9ad7b27 FIX: Was refocusing on resize events
This was annoying on small screens in desktop mode, where a keyboard
appearing would refocus on the search bar and make it impossible to
dismiss.
2015-12-23 15:17:00 -05:00
Robin Ward
5a15c4997c Let's be honest: we skip focus for iOS, not touch in general. 2015-11-27 12:23:51 -05:00
Robin Ward
e20c2726df FIX: Don't use mutationObserver in testing mode. Can hang Phantom 2015-11-12 10:15:24 -05:00
Robin Ward
6eb83a3d00 FIX: Tweak the mutationObserver to respect attributes.
To avoid crashing Firefox, it checks that the values actually changed.
This eliminates a bug where whitespace sometimes appeared in an
expanded menu.
2015-11-09 13:25:50 -05:00
Régis Hanol
9f14c197f2 less errors in js tests suite 2015-10-05 17:04:19 +11:00
Robin Ward
2546ca3c8e FIX: Remove attributes observer, doesn't work in FF/Safari 2015-09-16 15:36:12 -04:00
Robin Ward
97b608f090 FIX: Allow desktop chrome to scroll to bottom of menu panel 2015-09-16 15:30:40 -04:00
Robin Ward
63f0247d21 FIX: Better height estimation / observing for menu panels 2015-09-16 14:46:53 -04:00
Guo Xiang Tan
2958b4b0a1 FIX: Don't dismiss dropdown when searching within posts context. 2015-09-17 01:22:19 +08:00
Guo Xiang Tan
685471303a FIX: Don't dismiss headers on modifier keys. 2015-09-17 00:38:05 +08:00
scossar
20c8bb0494 remove hardcoded left: auto 2015-09-10 11:51:47 -07:00
scossar
d2a177f1dd change menu components position in header 2015-09-10 09:50:42 -07:00
scossar
cb787b99bd use outerHeight to calculate menu height 2015-09-08 14:37:07 -07:00
Robin Ward
12e0225c51 FIX: Better metaKey support for menu panels 2015-09-03 11:47:18 -04:00
Robin Ward
0cd393f310 Experiment with variable heights for slide-in menus 2015-09-02 16:46:25 -04:00
Robin Ward
d1717cdb12 FIX: Safer JS code 2015-09-02 15:33:44 -04:00
Robin Ward
f11bdd13fc FIX: Menu panels scrolled weird in iOS 2015-09-02 15:12:49 -04:00
Robin Ward
b3a930f2ed DRY up header height calculation 2015-09-02 14:30:18 -04:00
Robin Ward
d18b02d53b OH NO I DIDN'T 2015-09-01 16:19:47 -04:00
Robin Ward
88e44542f5 FIX: Don't show scrollbar in notifications with logout button 2015-09-01 16:18:12 -04:00
Robin Ward
6425650931 UX: Make search panel wider 2015-08-31 16:27:36 -04:00
Robin Ward
a4029675bd FIX: broken spec 2015-08-31 15:41:35 -04:00
Robin Ward
e2b7b2f2cf FIX: Don't outline buttons when menu is in slide out 2015-08-31 15:30:51 -04:00
Robin Ward
989c915a02 FIX: Custom header sizes and scrolling with menu panels 2015-08-31 15:04:33 -04:00
Robin Ward
ca017facf2 FIX: When navigating to pages close panels 2015-08-31 14:43:11 -04:00
Robin Ward
aa45429989 UX: Change heuristic for determining slide vs drop down 2015-08-29 11:18:26 -04:00
Robin Ward
c1b3811377 FIX: JSHint failures 2015-08-28 16:25:29 -04:00
Robin Ward
3ae5a0a2df UX: Merge notifications and user dropdown 2015-08-28 16:11:40 -04:00
Robin Ward
d4b987ff32 Migrate search drop down to menu-panel component. 2015-08-28 15:44:24 -04:00
Robin Ward
7de03f837e UX: Auto size the height of the drop down panel 2015-08-27 14:29:54 -04:00
Robin Ward
d7b43ce238 UX: Adjust menu panels when the browser is resized 2015-08-27 13:34:20 -04:00
Robin Ward
8fbc8dbae0 UX: Fix menu position with custom header 2015-08-26 17:21:20 -04:00
Robin Ward
a659fe3cc3 Update calculations when opened 2015-08-26 17:00:11 -04:00
Robin Ward
5457684975 Split hamburger-menu out into menu-panel 2015-08-26 16:29:10 -04:00