I defined the element in index.html to demonstrate the working version.

I am confused as to why you would say that #bad is doing the right thing. 
 Clicking that link will take you to that element as a new page in the 
browser.  When should updating the hash via a href take you to a new page?

On Monday, May 19, 2014 9:42:32 AM UTC-7, Rob Dodson wrote:
>
> [+ dfreedm]
>
> Stripped down gist is 
> here<https://gist.github.com/robdodson/614210dd05d6b8f34ff0>
>
> Daniel, any idea what's going on here?
>
>
> On Mon, May 19, 2014 at 9:39 AM, Rob Dodson <[email protected]<javascript:>
> > wrote:
>
>> Hm that's weird. You can remove the element defined in index.html because 
>> it doesn't do anything. It seems like the real problem is that hash links 
>> inside of a repeating template inside of an imported element do the right 
>> thing. And links outside a repeating template in an imported element do the 
>> wrong thing.
>>
>>
>> On Sunday, May 18, 2014 3:40:14 PM UTC-7, Justin Merz wrote:
>>>
>>> Not sure if this is a bug or I am missing something, but I have put 
>>> together to following test. https://github.com/jrmerz/
>>> polymer-hash-test/blob/master/public/index.html, sorry I didn't use 
>>> jsbin, not sure how use it with imports for this example.  The anchor tag 
>>> works fine in the element defined in index.html.  But if you look at 
>>> test-two https://github.com/jrmerz/polymer-hash-test/blob/
>>> master/public/test-two.html you will see the anchor tags work great in 
>>> the <template repeat="">...</template> but the <a href="#bad">Bad Hash 
>>> Link</a> is turned into <a href="test-two.html#bad">Bad Hash Link</a>. 
>>>  Thoughts, ideas, suggestions?
>>>
>>> -Thanks
>>> Justin
>>>
>>>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/18e77b02-fa90-4d6a-8e01-53a68eddff0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to