fix(daterangepicker): prevent full-width spanning and unintended click targets#5668
Draft
fix(daterangepicker): prevent full-width spanning and unintended click targets#5668
Conversation
…nline-flex Co-authored-by: inikolova <1826086+inikolova@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix DateRangePicker full width issue
fix(daterangepicker): prevent full-width spanning and unintended click targets
Nov 7, 2025
Packages Report
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DateRangePicker was inheriting
width: 100%from input defaults, causing the entire row to be clickable and unintentionally opening the calendar when clicking empty space beside the component.Changes
Core Package
$kendo-daterange-picker-widthvariable to decouple component width from input defaults.k-daterange-pickerfromdisplay: flextodisplay: inline-flex$kendo-input-default-widthTheme Packages
$kendo-daterange-picker-width: autoacross all themes (default, classic, material, fluent, bootstrap)CSS Impact
Result
Component now sizes to content rather than spanning full width. Clicking outside the visible component no longer triggers calendar popup.
Relates to telerik/kendo-react#2362
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.