meteor-modal-example icon indicating copy to clipboard operation
meteor-modal-example copied to clipboard

display switch.png and right select box

Open dougserfass opened this issue 10 years ago • 5 comments

switch.png and right select box do not show until after navigating to page a second time. any suggestions as to how to fix this problem? thanks.

dougserfass avatar Jul 22 '14 14:07 dougserfass

I'm having trouble reproducing this. Which browser and OS are you seeing this issue in?

I'd guess they are actually appearing but are positioned off-screen; probably shifted down in the flow because of some issue with the CSS.

Can you double-check this by inspecting the elements and seeing if those are actually in the HTML, please?

alanning avatar Jul 22 '14 14:07 alanning

same result using chrome on os x and windows should clarify that i have integrated your code into another app after open browser, problem only occurs the first time i navigate to Users page and click to open popup...cancel popup...click to open popup, again, and so on... if i NAVIGATE AWAY from Users page and return to Users page, repeat above sequence to click to open popup, problem does not occur

dougserfass avatar Jul 22 '14 17:07 dougserfass

Hmm, well if you can put together a repro then I can help more.

Let me know what the results of the element inspection are. I'd guess there is conflicting CSS styling going on that is causing the width to get shrunk until the png and right-side are "flow"-ed downwards and off-screen. Just a guess.

You'll have the most luck with using element inspection to figure out what's actually going on.

alanning avatar Jul 22 '14 19:07 alanning

would you consider creating an account at: http://storyboardmath.meteor.com/ so you could take a look at the behavior I am describing?

the email address you use to create the account does not need to be valid as we do not do email verification (yet)

if this is ok, let me know the email address you used and i will give this user the role of admin

after that, i can describe the brief navigation required to view the problem

thanks

dougserfass avatar Jul 22 '14 22:07 dougserfass

isolated problem, but, i do not know how to fix it...

in manage-roles.js code below, Session does not contain key,value for selectedUserId until render popup once, navigate away from page, render popup second time...some posts have claimed this behavior has something to do with template variables not calculated if they are hidden...

here is the problem code: Template.editRolesForm.rendered = function () { var userId = Session.get('selectedUserId'), user, $options

here is the post: https://groups.google.com/forum/#!topic/meteor-talk/_DnXCz9JZE8

any help would be greatly appreciated!

dougserfass avatar Aug 03 '14 00:08 dougserfass