2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00

feat: calculated positioning (#1049)

Adds `appendToBody` and `calculatePosition` props.

https://vue-select.org/guide/positioning.html

Co-authored-by: Jeff <sagalbot@gmail.com>
This commit is contained in:
Jérémie BORDIER
2020-03-08 21:31:08 +01:00
committed by GitHub
parent 41bdfc4bcc
commit fe51fec6b8
9 changed files with 239 additions and 25 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ describe("Toggling Dropdown", () => {
expect(Select.vm.open).toEqual(true);
await Select.vm.$nextTick();
expect(Select.find('.vs__dropdown-menu').element.style['display']).toEqual('none');
expect(Select.contains('.vs__dropdown-menu')).toBeFalsy();
expect(Select.contains('.vs__dropdown-option')).toBeFalsy();
expect(Select.contains('.vs__no-options')).toBeFalsy();
expect(Select.vm.stateClasses['vs--open']).toBeFalsy();