Completed
Last Updated: 08 Jun 2022 07:25 by ADMIN
ADMIN
Orlin
Created on: 13 Apr 2016 12:01
Category: FormDecorator
Type: Bug Report
0
FormDecorator changes focus when selection is dragged from one textbox to another in Internet Explorer/Edge
FormDecorator changes focus when selection is dragged from one textbox to another in Internet Explorer: http://screencast.com/t/zwtVur2X
1 comment
ADMIN
Rumen
Posted on: 08 Jun 2022 07:25

If you still experience the problem, you can apply the following solution:

            Sys.Application.add_load(function () {
                var browser = Telerik.Web.Browser;
                if (browser.ie || browser.edge) {
                    var origin;

                    $telerik.$("input").on("mousedown", function (e) {
                        origin = e.target;
                    });

                    $telerik.$('input').on("mouseup", function (e) {
                            origin.focus();
                    });
                }
            });