Comments (6)
I have the same problem, did you fix it and how?
from gmaps-autocomplete-rails.
That looks like a simple CSS styling issue to me.
from gmaps-autocomplete-rails.
My application.scss looks like this:
@import "bootstrap-sprockets";
@import "_bootstrap";
@import "lightbox-bootstrap";
.nav-justified > li > a, .nav-tabs.nav-justified > li > a {
color: black;
text-decoration: none;
}
a {
color: black;
text-decoration: none;
}
a:hover {
color: green;
text-decoration: none;
}
How can I solve this?
from gmaps-autocomplete-rails.
It was a CSS styling issue, and I added the following to fix it:
.ui-autocomplete {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
float: left;
display: none;
min-width: 160px;
_width: 160px;
padding: 4px 0;
margin: 2px 0 0 0;
list-style: none;
background-color: #ffffff;
border-color: #ccc;
border-color: rgba(0, 0, 0, 0.2);
border-style: solid;
border-width: 1px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
*border-right-width: 2px;
*border-bottom-width: 2px;
.ui-menu-item > a.ui-corner-all {
display: block;
padding: 3px 15px;
clear: both;
font-weight: normal;
line-height: 18px;
color: #555555;
white-space: nowrap;
&.ui-state-focus, &.ui-state-active {
color: #ffffff;
text-decoration: none;
background-color: #0088cc;
border-radius: 0px;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
background-image: none;
}
}
}
from gmaps-autocomplete-rails.
Thanks @FrankHald, if this is a common issue, feel free to make a PR to the README to include the CSS fix as a recipe or troubleshooting section. Cheers!
from gmaps-autocomplete-rails.
I added note to README on this issue
from gmaps-autocomplete-rails.
Related Issues (14)
- Mistake in README.md HOT 2
- file name of gmaps-autocomplete.js is wrong HOT 6
- README outdated and referring to the wrong gem HOT 9
- Put 'gmaps-output-longitude' and 'gmaps-output-latitude' to hidden field HOT 2
- Uncaught ReferenceError and TypeError HOT 3
- How to use Google Places API Key? HOT 1
- Multiple autocomplete fields on the same page does not autocomplete correctly HOT 8
- Can be this gem used without specification of country? HOT 3
- Gem not working with latest gem versions HOT 5
- Docs need to be updated HOT 1
- Uncaught TypeError: Object #<HTMLInputElement> has no method 'geocodeLookup' HOT 4
- Missing include for jquery-ui CSS file in instructions
- Error load pipeline asset HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmaps-autocomplete-rails.