Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: DatePicker inside Modal #5927

Open
JanVargovsky opened this issue Jan 8, 2025 · 0 comments
Open

[Bug]: DatePicker inside Modal #5927

JanVargovsky opened this issue Jan 8, 2025 · 0 comments
Labels
Type: Bug 🐞 Something isn't working

Comments

@JanVargovsky
Copy link

Blazorise Version

1.7.2

What Blazorise provider are you running on?

Bootstrap4

Link to minimal reproduction or a simple code snippet

I've edited this basic modal example https://github.com/Megabit/Blazorise/blob/458799c524ca5f1f01370cf8e69a55d379355864/Documentation/Blazorise.Docs/Pages/Docs/Components/Modals/Examples/BasicModalExample.razor
by adding extra fields with DatePicker.

<Field>
    <FieldLabel>DateEdit</FieldLabel>
    <DateEdit TValue="DateTime?" />
</Field>
<Field>
    <FieldLabel>DatePicker</FieldLabel>
    <DatePicker TValue="DateTime?" StaticPicker="false" />
</Field>
<Field>
    <FieldLabel>DatePicker2</FieldLabel>
    <DatePicker TValue="DateTime?" />
</Field>
<Field>
    <FieldLabel>DatePicker3</FieldLabel>
    <DatePicker TValue="DateTime?" />
</Field>

anywhere to the ModalBody

Steps to reproduce & bug description

Click on DatePicker to trigger a popup to show

What is expected?

DatePicker's popup has the correct location under input.

What is actually happening?

Any DatePicker's popup used in Modal ends up in the same location on the bottom.

Image

Image

What browsers do you see the problem on?

Chrome, Firefox, Microsoft Edge

Any additional comments?

No response

@JanVargovsky JanVargovsky added the Type: Bug 🐞 Something isn't working label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant