Topic: cookies warning from your component
Manamapps free asked 4 years ago
Expected behavior no warnings Actual behavior getting this warning. i dont know where it's compong from:
A cookie associated with a cross-site resource at https://mdbootstrap.com/ was set without the SameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None
and Secure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
Resources (screenshots, code snippets etc.)
Amir Hamzeh free answered 4 years ago
i have same problem here, in special page for login
core.js:6185 ERROR TypeError: Cannot read property 'children' of null at NavbarComponent.ngAfterContentChecked (ng-uikit-pro-standard.js:8521) at callHook (core.js:4690) at callHooks (core.js:4650) at executeInitAndCheckHooks (core.js:4591) at refreshView (core.js:11838) at refreshDynamicEmbeddedViews (core.js:13154) at refreshView (core.js:11819) at refreshComponent (core.js:13229) at refreshChildComponents (core.js:11527) at refreshView (core.js:11848)
Jakub Chmura staff commented 4 years ago
I see that in your error message is information about ng-uikit-pro-standard
, are you an angular user?
Can you tell me when exactly you receive this error ( link to the page ), I need more details to reproduce this error?
Amir Hamzeh free commented 4 years ago
yes i'am (angular 9),but not this user. i get pro user of angular 9 in 2 days ago; pro version in app.ts :
router.events.subscribe((route: any) => { if (route.routerEvent) { this.currentUrl = route.routerEvent.url; } else { this.currentUrl = route.url; } this.specialPage = this.specialPages.indexOf(this.currentUrl) !== -1; });
Konrad Stępień staff commented 4 years ago
Hi @Amir Hamzeh,
Could you make new support with details about your project in Angular support section? Because you write in "React" category. I will gladly help you but I need some more information about your project.
Best, Konrad.
Jakub Chmura staff answered 4 years ago
Hi @Manamapps.
Thank you for your feedback. We know this case. This warnings that appear even in google.com and youtube.com pages. thank you for your caring. If you do not use cookies, you should treat this warning as information, and you should not worry about it.
Best, Kuba
Manamapps free commented 4 years ago
can i make them not show?
Jakub Chmura staff commented 4 years ago
I think it's a global warning. It's only inform us (developers) to change our coockies settings. Our components do not manipulate cookies so we can't help in this case. You can try to find a solution on the Internet, how to hide this warning, but in my opinion this does not affect the quality of using the site.
Best, Kuba
Jakub Chmura staff commented 4 years ago
You're welcome.
If there is anything else I could do for you do not hesitate to ask me. I'll be happy to help you. Best Regards,
Manamapps free commented 4 years ago
thankssssssssssssssss
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.23.1
- Device: desktop
- Browser: chrome
- OS: windows 10
- Provided sample code: Yes
- Provided link: Yes