telerik / kendo-ui-core

An HTML5, jQuery-based widget library for building modern web apps.
http://www.telerik.com/kendo-ui
Other
2.54k stars 1.91k forks source link

Kendo dropdown popup position is not correct #7970

Closed SumanManna1 closed 1 week ago

SumanManna1 commented 3 weeks ago

Bug report

The input field of the Combobox is being shifted left . It was working fine with Windows OS Build 17763.5820 and Edge Browser version 128.0.2739.67 (Official build) (64-bit) but post upgradation with OS Build 19045.4780 and Edge Browser version 126.0.2592.61 (Official build) (64-bit) its displaced all kendo dropdown controls.

Reproduction of the problem

(bug report only) Open this Dojo example Run it and see the floating "Rib Knit" text which is the input field of the Combobox

KendoDropDownPositionIssue

Current behavior

(optional) The input field of the Combobox is being shifted left

Expected/desired behavior

ComboBox pop-up should appear in correct position according to the set "top, bottom, left, right" parameters.

Environment

OS: Windows OS Build 19045.4780 Browser : Edge Version : 126.0.2592.61 (Official build) (64-bit) Kendo version : 2020.3.1021

sspasova commented 1 week ago

Hello @SumanManna1,

Thank you for bringing this to our attention. I've checked the provided Dojo example and saw that you use appendTo. I advise you to use anchor so you can achieve the correct position of the popup. Here is an example of how to do it -> https://dojo.telerik.com/@gdenchev/aqIGASOF