Skip to content

Conversation

@haryasa
Copy link
Contributor

@haryasa haryasa commented Sep 9, 2025

Description

Use a single shared PositioningService instance for the datepicker and daterangepicker directives to fix adaptive positioning issues:

  • Adaptive positioning on the daterangepicker now works.
  • Adaptive positioning on one datepicker no longer affects other instances.
  • Also apply this change to the inline datepicker and inline daterangepicker for consistency.

Fixes #6773, fixes #6774

Adaptive positioning on the daterangepicker now works

Before:

Screencast.from.2025-09-09.10-09-50.webm

After:

Screencast.from.2025-09-09.10-15-34.webm

Adaptive positioning on one datepicker no longer affects other instances

Before:

Screencast.from.2025-09-09.10-12-12.webm

After:

Screencast.from.2025-09-09.10-17-27.webm

PR Checklist

Before creating new PR, please take a look at checklist below to make sure that you've done everything that needs to be done before we can merge it.

  • read and followed the CONTRIBUTING.md guide.
  • built and tested the changes locally.
  • added/updated tests.
  • added/updated API documentation.
  • added/updated demos.

Use a single shared PositioningService instance for the datepicker and daterangepicker directives to fix adaptive positioning issues:
- Adaptive positioning on the daterangepicker now works.
- Adaptive positioning on one datepicker no longer affects other instances.
- Also apply this change to the inline datepicker and inline daterangepicker for consistency.

Fixes valor-software#6773, fixes valor-software#6774
@haryasa
Copy link
Contributor Author

haryasa commented Sep 10, 2025

Hi @lexasq 👋
I just wanted to check if this PR is on your radar. Please let me know if you'd like me to adjust anything or add more details—happy to help! 🙏

@lexasq
Copy link
Contributor

lexasq commented Sep 10, 2025

@haryasa looks pretty understandable so far, thanks!

@lexasq lexasq merged commit 0357a3a into valor-software:development Sep 10, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adaptive positioning on one datepicker affects other datepicker instances Adaptive positioning not working on daterangepicker

2 participants