mdTooltip: md-visible binding not isolated
Hello,
Overview of the issue I'm trying to create a button (md-button) that has a tooltip (md-tooltip) that only appears when the button is clicked and disappears when the button is clicked again. In order to achieve that, I'm setting a scope variable when the button is clicked and using it as argument for md-visible. Problem is that the md-tooltip directive is changing that variable so I can't achieve the behavior that I want.
Angular Material Version 0.11.0
Reproduce the Error https://gist.github.com/treaz/ab4e840847384705e2d2#file-tooltip-js
Suggested fix If md-visible would be isolated (@ instead of =) everything would be fine. I don't understand why it's needed to have bidirectional binding anyway.
Looking forward to see what you think of it
I have the same problem when using tooltips on my speed dial buttons. It seems like md-visible toogles automatically when the speed dial opens/closes (and without delay, so they dont position correctly on speed dial's first opening).
I am on rc4
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a temporary error. The following address(es) deferred:
[email protected] Domain biomassiv.es has exceeded the max emails per hour (506/500 (101%)) allowed. Message will be reattempted later
------- This is a copy of the message, including all the headers. ------ Received: from github-smtp2-ext4.iad.github.net ([192.30.252.195]:45979 helo=github-smtp2a-ext-cp1-prd.iad.github.net) by ps5.websitehostserver.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_1) (envelope-from [email protected]) id 1avsbg-000Kso-H4 for [email protected]; Thu, 28 Apr 2016 15:32:16 -0500 Date: Thu, 28 Apr 2016 13:26:13 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1461875174; bh=mPssGWHAr/gkSIUC0okRfU4vYHctU0jIi8W9AQB/lOo=; h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=Vyg3SXoax6JtPNfuGWmIp0jKNlHeUgHkmG7nsPku1KjBEapzJCk6mZMysRLz09ZzZ rRl0jn3+w4aTsAAd63LuSErfs6aYqxTU5+C1L5JuX44R7rQ1oo8936fdgcleRQFJwm fz51PoDsVZb2lsTsno/Quq7xJzsgDHs7ZgccwqCA= From: Thomas Burleson [email protected] Reply-To: angular/material [email protected] To: angular/material [email protected] Cc: Message-ID: angular/material/issue/4517/issue_event/[email protected] In-Reply-To: angular/material/issues/[email protected] References: angular/material/issues/[email protected] Subject: Re: [angular/material] mdTooltip: md-visible binding not isolated (#4517) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_572271e5e6f48_5aff3fc02c7a72a0225369"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: ThomasBurleson X-GitHub-Recipient: biomassives List-ID: angular/material <material.angular.github.com> List-Archive: https://github.com/angular/material List-Post: mailto:[email protected] List-Unsubscribe: mailto:unsub+0042d4e2e30a66e05fae70f1a848fc73f205ef222aee8d1e92cf00000001133a33e592a169ce064b8ade@reply.github.com, https://github.com/notifications/unsubscribe/AELU4lTN_QP_yY5czwAN9jHB9QrWiALUks5p8RflgaJpZM4F6Uso X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: [email protected]
----==_mimepart_572271e5e6f48_5aff3fc02c7a72a0225369 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit
Closed #4517.
You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/angular/material/issues/4517#event-644846894 ----==_mimepart_572271e5e6f48_5aff3fc02c7a72a0225369 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Closed #4517.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub![]()
----==_mimepart_572271e5e6f48_5aff3fc02c7a72a0225369--