Skip to content
This repository was archived by the owner on Sep 10, 2023. It is now read-only.

Commit 7974458

Browse files
committed
resolve the bug which, if the input area has a width different than 400px, the dropdown's width, will not fit it and it's bigger or smaller.
1 parent 2bac4f2 commit 7974458

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/jquery.tokeninput.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ $.TokenList = function (input, url_or_data, settings) {
632632
position: "absolute",
633633
top: $(token_list).offset().top + $(token_list).outerHeight(),
634634
left: $(token_list).offset().left,
635+
width: $(token_list).width(),
635636
'z-index': 999
636637
})
637638
.show();

0 commit comments

Comments
 (0)