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".










share|improve this question
























  • 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















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".










share|improve this question
























  • 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













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".










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • 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












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>








share|improve this answer





















  • 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











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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

























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>








share|improve this answer





















  • 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















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>








share|improve this answer





















  • 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













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>








share|improve this answer












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>






share|improve this answer












share|improve this answer



share|improve this answer










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


















  • 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


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

Schultheiß

Liste der Kulturdenkmale in Wilsdruff

Android Play Services Check