meteor-accounts-ui-bootstrap-dropdown icon indicating copy to clipboard operation
meteor-accounts-ui-bootstrap-dropdown copied to clipboard

Issues with multiple {{loginButtons}} on page

Open mcrider opened this issue 12 years ago • 2 comments

I use {{loginButtons}} twice in my app, the second call being displayed only if the user is on a mobile device. Doing this causes logging in/signing up to break assumedly because of some of the global DOM calls are using the second (unused) login form as a form source.

My current hack is to remove the invisible {{loginButtons}} from the DOM on page load, but it might be be a good idea to scope the DOM calls in this package to the active form.

Thanks for your work on this package!

mcrider avatar Jul 04 '13 22:07 mcrider

Ah yes, a major refactor is needed in order to make the events scoped to their parent DOM forms. I'll definitely keep this open as an enhancement.

erobit avatar Aug 20 '13 02:08 erobit

+1

jamesdwilson avatar Aug 20 '13 04:08 jamesdwilson