Skip to content

Datepicker looses its CSS upon reload of page after Upgrade to Angular 15 #6615

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

Open
deathstar1708 opened this issue Oct 17, 2023 · 0 comments

Comments

@deathstar1708
Copy link

i have upgraded my project to the following version in accordance of Angular 15:
"ngx-bootstrap": "^10.2.0",
"bootstrap": "^5.2.3",

Since the latest upgrade , i am having an issue where when my datepicker component self reloads , it looses the custom css that is attached to it . The styles section in my angular JSON files are updates as follows :
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"./node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
"src/assets/scss/appointment/custom-style.scss",
"src/styles.scss"

It looses the custom css on it and loads the default css instead. Upon researching , i found another instance whereby this issue is raised : https://stackoverflow.com/questions/63892436/ngx-bootstrap-inline-datepicker-stops-working-after-browser-reload-after-settin .

Please help . Thank you

@deathstar1708 deathstar1708 changed the title Calender looses its CSS upon reload of page after Upgrade to Angular 15 Datepicker looses its CSS upon reload of page after Upgrade to Angular 15 Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants