Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Closed Issue: HoverMenuExtender attached to Textbox will not unhover after all text in Textbox is selected and deleted. [12170]

$
0
0
This issue occurs in IE7. It does not happen with Firefox 2.0.0.6. Other browsers and versions have not been tested.

It is a very, very strange issue and I couldn't believe what was happening until I tried it several times.

Please see the attached file for a sample page.

It comprises a single textbox and a panel. A HoverMenuExtender means that when the mouse moves over the textbox, the panel appears.
When the mouse moves away from the textbox (or when the textbox loses focus), the panel disappears.

But, try the following:

- Enter some text into the textbox.
- Select all the text using the mouse, starting from the right of the text, and moving all the way to the left.
- Press 'delete' or 'backspace'.

The panel will no longer disappear when focus is changed to something other than the textbox.

Further detail:

- It only occurs if you select the text with the mouse. CTRL-A (select all) followed by delete or backspace causes no problems.

- The problem only occurs if you delete all the way to the left of the textbox.

- Otherwise it doesn't matter how much of the text you select and delete.
For example, in the text 'Hello World', if you select and delete 'World', the problem will not occur.
But if you select and delete 'Hello', the problem will occur.

- The problem only occurs if you select in the right direction!! To continue with the example above using 'Hello World':
If you select the 'o' of 'Hello' and move the mouse left to select the entire word, and then click on 'Delete', the problem will occur.
But, if you select the 'H' of 'Hello' and move the mouse right to select the entire word, the problem will not occur.

- The same thing happens with a single character! Delete it by selecting from left to right, no problem. But do it from right to left, the problem occurs.
Comments: This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please file a new issue.

Viewing all articles
Browse latest Browse all 4356

Trending Articles