IE 11 the cursor doesn't change immediately when selecting from empty space to text
up vote
0
down vote
favorite
I am using IE 11, I noticed that the cursor doesn't change immediately from pointer to designed cursor when selecting from empty space to text. It's working correctly in Firefox. Any idea?
For example, I have text here:
.text {cursor: text;}
<span class="text">This is the sample text.</span>
When I put my mouse down on right empty space after the sample sentence, and drag from right to left to select text, I expect the mouse cursor will be change immediately to "text" cursor when the mouse reaches the period, but the cursor doesn't change immediately in IE 11, sometimes the cursor starts to change when the mouse reaches "text" or even "sample".
javascript css internet-explorer mouseevent internet-explorer-11
add a comment |
up vote
0
down vote
favorite
I am using IE 11, I noticed that the cursor doesn't change immediately from pointer to designed cursor when selecting from empty space to text. It's working correctly in Firefox. Any idea?
For example, I have text here:
.text {cursor: text;}
<span class="text">This is the sample text.</span>
When I put my mouse down on right empty space after the sample sentence, and drag from right to left to select text, I expect the mouse cursor will be change immediately to "text" cursor when the mouse reaches the period, but the cursor doesn't change immediately in IE 11, sometimes the cursor starts to change when the mouse reaches "text" or even "sample".
javascript css internet-explorer mouseevent internet-explorer-11
Any code so we can test what you mean?
– Shilly
Nov 9 at 15:26
@Shilly please see my updated question, thx
– typeof programmer
Nov 9 at 15:53
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using IE 11, I noticed that the cursor doesn't change immediately from pointer to designed cursor when selecting from empty space to text. It's working correctly in Firefox. Any idea?
For example, I have text here:
.text {cursor: text;}
<span class="text">This is the sample text.</span>
When I put my mouse down on right empty space after the sample sentence, and drag from right to left to select text, I expect the mouse cursor will be change immediately to "text" cursor when the mouse reaches the period, but the cursor doesn't change immediately in IE 11, sometimes the cursor starts to change when the mouse reaches "text" or even "sample".
javascript css internet-explorer mouseevent internet-explorer-11
I am using IE 11, I noticed that the cursor doesn't change immediately from pointer to designed cursor when selecting from empty space to text. It's working correctly in Firefox. Any idea?
For example, I have text here:
.text {cursor: text;}
<span class="text">This is the sample text.</span>
When I put my mouse down on right empty space after the sample sentence, and drag from right to left to select text, I expect the mouse cursor will be change immediately to "text" cursor when the mouse reaches the period, but the cursor doesn't change immediately in IE 11, sometimes the cursor starts to change when the mouse reaches "text" or even "sample".
javascript css internet-explorer mouseevent internet-explorer-11
javascript css internet-explorer mouseevent internet-explorer-11
edited Nov 9 at 15:52
asked Nov 9 at 15:19
typeof programmer
49111121
49111121
Any code so we can test what you mean?
– Shilly
Nov 9 at 15:26
@Shilly please see my updated question, thx
– typeof programmer
Nov 9 at 15:53
add a comment |
Any code so we can test what you mean?
– Shilly
Nov 9 at 15:26
@Shilly please see my updated question, thx
– typeof programmer
Nov 9 at 15:53
Any code so we can test what you mean?
– Shilly
Nov 9 at 15:26
Any code so we can test what you mean?
– Shilly
Nov 9 at 15:26
@Shilly please see my updated question, thx
– typeof programmer
Nov 9 at 15:53
@Shilly please see my updated question, thx
– typeof programmer
Nov 9 at 15:53
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
For me on IE11, if I start dragging outside of the textbox, the pointer only changes once I release the mouse button. In chrome and firefox, it changes the moment you hover the text.
I think this might be default IE11 behaviour, since I can't really find any related info easily.
What did work for me, is adding text:hover with the same styling. Then the cursor immediately changes once you hover a character, even while dragging.
.text,
.text:hover {
cursor: text;
}
<span class="text">This is the sample text.</span>
Thanks Shilly. The reason why I was asking the question is because I noticed if the pointer doesn't change immediately in IE when dragging from outside of the textbox, it will miss my own mouseover and mouseout function, those two functions only get called when the cursor get changed. So, adding hover is not that helpful, we may need another workaround.
– typeof programmer
Nov 9 at 16:29
What work do those hover functions do that is important while selecting the text?
– Shilly
Nov 10 at 12:39
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
For me on IE11, if I start dragging outside of the textbox, the pointer only changes once I release the mouse button. In chrome and firefox, it changes the moment you hover the text.
I think this might be default IE11 behaviour, since I can't really find any related info easily.
What did work for me, is adding text:hover with the same styling. Then the cursor immediately changes once you hover a character, even while dragging.
.text,
.text:hover {
cursor: text;
}
<span class="text">This is the sample text.</span>
Thanks Shilly. The reason why I was asking the question is because I noticed if the pointer doesn't change immediately in IE when dragging from outside of the textbox, it will miss my own mouseover and mouseout function, those two functions only get called when the cursor get changed. So, adding hover is not that helpful, we may need another workaround.
– typeof programmer
Nov 9 at 16:29
What work do those hover functions do that is important while selecting the text?
– Shilly
Nov 10 at 12:39
add a comment |
up vote
1
down vote
For me on IE11, if I start dragging outside of the textbox, the pointer only changes once I release the mouse button. In chrome and firefox, it changes the moment you hover the text.
I think this might be default IE11 behaviour, since I can't really find any related info easily.
What did work for me, is adding text:hover with the same styling. Then the cursor immediately changes once you hover a character, even while dragging.
.text,
.text:hover {
cursor: text;
}
<span class="text">This is the sample text.</span>
Thanks Shilly. The reason why I was asking the question is because I noticed if the pointer doesn't change immediately in IE when dragging from outside of the textbox, it will miss my own mouseover and mouseout function, those two functions only get called when the cursor get changed. So, adding hover is not that helpful, we may need another workaround.
– typeof programmer
Nov 9 at 16:29
What work do those hover functions do that is important while selecting the text?
– Shilly
Nov 10 at 12:39
add a comment |
up vote
1
down vote
up vote
1
down vote
For me on IE11, if I start dragging outside of the textbox, the pointer only changes once I release the mouse button. In chrome and firefox, it changes the moment you hover the text.
I think this might be default IE11 behaviour, since I can't really find any related info easily.
What did work for me, is adding text:hover with the same styling. Then the cursor immediately changes once you hover a character, even while dragging.
.text,
.text:hover {
cursor: text;
}
<span class="text">This is the sample text.</span>
For me on IE11, if I start dragging outside of the textbox, the pointer only changes once I release the mouse button. In chrome and firefox, it changes the moment you hover the text.
I think this might be default IE11 behaviour, since I can't really find any related info easily.
What did work for me, is adding text:hover with the same styling. Then the cursor immediately changes once you hover a character, even while dragging.
.text,
.text:hover {
cursor: text;
}
<span class="text">This is the sample text.</span>
.text,
.text:hover {
cursor: text;
}
<span class="text">This is the sample text.</span>
.text,
.text:hover {
cursor: text;
}
<span class="text">This is the sample text.</span>
answered Nov 9 at 16:09
Shilly
4,9781516
4,9781516
Thanks Shilly. The reason why I was asking the question is because I noticed if the pointer doesn't change immediately in IE when dragging from outside of the textbox, it will miss my own mouseover and mouseout function, those two functions only get called when the cursor get changed. So, adding hover is not that helpful, we may need another workaround.
– typeof programmer
Nov 9 at 16:29
What work do those hover functions do that is important while selecting the text?
– Shilly
Nov 10 at 12:39
add a comment |
Thanks Shilly. The reason why I was asking the question is because I noticed if the pointer doesn't change immediately in IE when dragging from outside of the textbox, it will miss my own mouseover and mouseout function, those two functions only get called when the cursor get changed. So, adding hover is not that helpful, we may need another workaround.
– typeof programmer
Nov 9 at 16:29
What work do those hover functions do that is important while selecting the text?
– Shilly
Nov 10 at 12:39
Thanks Shilly. The reason why I was asking the question is because I noticed if the pointer doesn't change immediately in IE when dragging from outside of the textbox, it will miss my own mouseover and mouseout function, those two functions only get called when the cursor get changed. So, adding hover is not that helpful, we may need another workaround.
– typeof programmer
Nov 9 at 16:29
Thanks Shilly. The reason why I was asking the question is because I noticed if the pointer doesn't change immediately in IE when dragging from outside of the textbox, it will miss my own mouseover and mouseout function, those two functions only get called when the cursor get changed. So, adding hover is not that helpful, we may need another workaround.
– typeof programmer
Nov 9 at 16:29
What work do those hover functions do that is important while selecting the text?
– Shilly
Nov 10 at 12:39
What work do those hover functions do that is important while selecting the text?
– Shilly
Nov 10 at 12:39
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53228483%2fie-11-the-cursor-doesnt-change-immediately-when-selecting-from-empty-space-to-t%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Any code so we can test what you mean?
– Shilly
Nov 9 at 15:26
@Shilly please see my updated question, thx
– typeof programmer
Nov 9 at 15:53