Skip to content

Update EmailAutocomplete.js#2

Open
matthallett wants to merge 3 commits into
NicoleEtLui:masterfrom
matthallett:patch-1
Open

Update EmailAutocomplete.js#2
matthallett wants to merge 3 commits into
NicoleEtLui:masterfrom
matthallett:patch-1

Conversation

@matthallett

Copy link
Copy Markdown

The code getComputedStyle() on the input and then gets the values for borderWidth and padding. However this does not work in some browsers (fails in Firefox and Edge (have tested using demo file as well as my own project), works in Chrome). To fix, you just have to change to borderLeftWidth, borderTopWidth, paddingTop as appropriate.

getComputedStyle().borderWidth and getComputedStyle().padding don't work in some browsers, need to specify the side
@jason-crowther

Copy link
Copy Markdown

I noticed this myself, would be great if this would be merged in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants