Skip to content

Commit

Permalink
Merge pull request #186 from rabas/master
Browse files Browse the repository at this point in the history
The input become invisible when the row is filled
  • Loading branch information
zergioz authored Sep 26, 2023
2 parents 7fc08e6 + b8dc9d5 commit 610a5e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions magicsuggest.js
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,9 @@
ms.input.width(0);
inputOffset = ms.input.offset().left - ms.selectionContainer.offset().left;
w = ms.container.width() - inputOffset - 42;
if(w < 0) {
w = ms.container.width();
}
ms.input.width(w);
}

Expand Down

0 comments on commit 610a5e2

Please sign in to comment.