zaeemyaseen

zaeemyaseen

Drop down menu button

Issue:
When i click the drop down menu button for the first time after refreshing the page it doesn’t open but opens on 2nd click. after second click it open on every single click. But only for the first time after refreshing it we have to click twice for the drop down menu to open. Any suggestions where i can be making the mistake.?

<div class="photo-cover dropdown-wrapper" aria-hidden="true" data-toggle="dropdown" aria-expanded="false" id="dropdownMenuButton"><img src="/images/Camera.svg" class="camera-img">Update photo cover</div>
<div class="dropdown-menu btn" aria-labelledby="dropdownMenuButton">
	<ul>
        	<li ><img src="/images/SmallCamera.svg" class="camera-img-change">
                Change cover photo
                </li>
                <li><img src="/images/DeleteBucket.svg" class="camera-img-change">
                Delete cover photo
                </li>
	</ul>
</div>

First Post!

100phlecs

100phlecs

What browser are you testing?

I think you’ll need to provide more information and/or a sufficient reproduction.
It could be an initialization delay :thinking:

Where Next?

Popular in Questions Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" =&gt; #BSON.ObjectId&lt;58eb1a7a9ad169198c3dXXXX&gt;, "email" =&gt; ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New

We're in Beta

About us Mission Statement