You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.
I noticed when you mousedown on the input then mouseup outside of the input it doesn't select the text. I don't know if you want this behaviour but I added it for myself so I thought I'd share. This is onmousedown for the input (in Typescript).
$(window).on("mouseup.select-text", function (e)
{
var input$: JQuery = $("#inputID");
if (e.target != input$[0])
{
input$.focus().select();
}
$(window).off("mouseup.select-text");
});
The text was updated successfully, but these errors were encountered:
@six60 Thanks for the suggestion. I might consider supporting this, but would make it optional. Any interest in forking, implementing, and submitting a pull request?
Hi,
I noticed when you mousedown on the input then mouseup outside of the input it doesn't select the text. I don't know if you want this behaviour but I added it for myself so I thought I'd share. This is onmousedown for the input (in Typescript).
$(window).on("mouseup.select-text", function (e)
{
var input$: JQuery = $("#inputID");
if (e.target != input$[0])
{
input$.focus().select();
}
$(window).off("mouseup.select-text");
});
The text was updated successfully, but these errors were encountered: