This will help you out.
Give position:absolute to the child and it's parent position: relative.
Here is the code:
.uk-navbar-nav > li {
position: relative;
float: left;
}
.uk-dropdown.uk-dropdown-navbar.uk-dropdown-width-1 {
position: absolute;
}