mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-21 14:24:10 +00:00
fix: handle complete empty snapshots and match dropdown trigger width
This commit is contained in:
@@ -46,6 +46,9 @@ it('centralizes floating dropdown positioning in an Alpine data provider', funct
|
||||
->toContain('window.floatingDropdown = function floatingDropdown')
|
||||
->toContain('window.requestAnimationFrame')
|
||||
->toContain('positionPanel(panel = null)')
|
||||
->toContain('const desiredWidth = config.matchTriggerWidth')
|
||||
->toContain('? triggerRect.width')
|
||||
->not->toContain('? Math.max(triggerRect.width, panel.offsetWidth)')
|
||||
->toContain('window.innerWidth < 768');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user