-
Notifications
You must be signed in to change notification settings - Fork 8k
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 on selecting an item using <nb-select> (page moves up) #2076
Comments
I have the same issue with version 3.4.2 |
Estou com o mesmo problema, alguma solução? |
I have the same issue |
I have this issue too. |
Let me add some info: Current behavior: Steps to reproduce:
I guess it's related to P.S. Tons of thanks to you guys for this awesome admin panel 😍 |
I have the same problem. Was the project abandoned? |
I have this issue too. Aren't there any solution for this? |
anyone figure it out? its causing a issue with my form inputs as the input is at the bottom of the page when user clicks the drop down button the page turns white |
i don't know but for now i am just using /deep/ .cdk-global-scrollblock { in my component that uses the dropdown in, so far i notice nothing breaks 😍 |
any updates, we have same issue |
Still, have this issue in nebula 3.5.0 |
I can resolve this issue with changed build option.
nebula 4.1.0 I hope this helps you. |
still occurs on "@nebular/theme": "4.6.0", but nb-select inside a dialog |
still occurs on "@nebular/theme": "4.6.0", but nb-select inside a dialog Any update? |
Same issue with the weird white footer when using a popup with nbselect component is the pull request working for this as well? [EDIT] /deep/ .cdk-global-scrollblock {
position: static !important;
} --> didn't work for me either inside a popup.
|
I have added Finally nb-select in modal works as expected! Hope this helps anyone with this issue. Nebular: 4.2.1 Angular: 8.0.0 |
It still happens to me in Nebular 5.0 angular 9.0.4 my index.html file <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<style>
.cdk-global-scrollblock {
position: static !important;
}
</style>
</head>
<body>
<ngx-app>Loading...</ngx-app>
<style>@-webkit-keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-moz-keyframes spin{0%{-moz-transform:rotate(0)}100%{-moz-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.spinner{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1003;background: #000000;overflow:hidden} .spinner div:first-child{display:block;position:relative;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;box-shadow:0 3px 3px 0 rgba(255,56,106,1);transform:translate3d(0,0,0);animation:spin 2s linear infinite} .spinner div:first-child:after,.spinner div:first-child:before{content:'';position:absolute;border-radius:50%} .spinner div:first-child:before{top:5px;left:5px;right:5px;bottom:5px;box-shadow:0 3px 3px 0 rgb(255, 228, 32);-webkit-animation:spin 3s linear infinite;animation:spin 3s linear infinite} .spinner div:first-child:after{top:15px;left:15px;right:15px;bottom:15px;box-shadow:0 3px 3px 0 rgba(61, 175, 255,1);animation:spin 1.5s linear infinite}</style>
<div id="nb-global-spinner" class="spinner">
<div class="blob blob-0"></div>
<div class="blob blob-1"></div>
<div class="blob blob-2"></div>
<div class="blob blob-3"></div>
<div class="blob blob-4"></div>
<div class="blob blob-5"></div>
</div>
</body>
</html> |
@vamidi, what is the version of Nebular & Angular you are working on right now? |
Nebular 5.0.0 and angular 9.0.4 [EDIT] I checked the css and it wasn't overriding the global-scrollblock , I tested it with the fix and it worked. so now I have find out where to place it properly to let it override the standard css. |
Thank you so much for this!! |
::ng-deep .cdk-overlay-container { added this on my add user modal, nb select options works like charm.. Angular CLI: 13.3.1 Angular: 12 Package Version@angular-devkit/architect 0.1303.1 (cli-only) |
I'm trying to add a simple dropdown menu with nb-select, e.g.:
But when I select some item, the entire page moves up. Actually, an inline style is applied to the html, changing the "top" position for some negative value.
This problem has begun after I've upgraded from nebular 3.0.0 to the last version (3.4.2).
It is possible to reproduce this problem even in the ngx-admin demo page (http://akveo.com/ngx-admin/pages/extra-components/form-inputs).
The text was updated successfully, but these errors were encountered: