These are chat archives for canjs/canjs

13th
Jul 2017
Viktor Busko
@Lighttree
Jul 13 2017 15:10
Yep looks the same.
Viktor Busko
@Lighttree
Jul 13 2017 15:33

Guys I'm feeling bad myself because of amount of issues I'm asking about :), but one more:

http://jsbin.com/derayewanu/1/edit?html,js,console,output

This bin works fine in Chrome/Edge, but in IE11 SVG that I added in stache not rendered.
Is there workaround for this ? I remember in 2.2.9 stache had same issue, but for all the browsers.

Viktor Busko
@Lighttree
Jul 13 2017 16:31
Maybe this is related: canjs/can-stache#95 not sure
Frank Lemanschik
@frank-dspeed
Jul 13 2017 16:35
@Lighttree npm install --save can-stache@^3.3.0
and try it out
that patch is merged
so maybe it works after that when that is the issue
Viktor Busko
@Lighttree
Jul 13 2017 16:35
already 3.3.0
Frank Lemanschik
@frank-dspeed
Jul 13 2017 16:35
then this is not the error
sorry can't help with that
i am never microsoft compatible
they simply don't matter anymore
Viktor Busko
@Lighttree
Jul 13 2017 16:42
You mean IE11 users ? :)
Kevin Phillips
@phillipskevin
Jul 13 2017 18:05
@Lighttree can you submit an issue?
Viktor Busko
@Lighttree
Jul 13 2017 18:29
Sure
Viktor Busko
@Lighttree
Jul 13 2017 18:51
canjs/can-stache#242
Gregg Roemhildt
@roemhildtg
Jul 13 2017 19:04
Hi guys, I've got some select dropdowns that get populated from an promise that resolves to a can-define list. In IOS, for some reason the options are showing up as empty. Anyone ever run into this?
image.png
Gregg Roemhildt
@roemhildtg
Jul 13 2017 19:40
it looks like the generated html looks like this:
image.png
But in regular windows, chrome looks like this:
image.png
Kevin Phillips
@phillipskevin
Jul 13 2017 19:51
ios safari you mean?
Gregg Roemhildt
@roemhildtg
Jul 13 2017 19:51
Well, the same issue also appears in firefox, chrome, on iphone and ipad
Kevin Phillips
@phillipskevin
Jul 13 2017 19:53
all browsers on ios use the same javascript engine
what does your template look like for the <option>s?
Gregg Roemhildt
@roemhildtg
Jul 13 2017 19:57
<select {($value)}="value" class="form-select form-control" name="{{properties.name}}">
    {{#each properties.options}}
        <option value="{{value}}">{{label}}</option>
    {{/each}}
</select>
Kevin Phillips
@phillipskevin
Jul 13 2017 20:00
ok, I don't see anything obvious. can you submit an issue also?
Gregg Roemhildt
@roemhildtg
Jul 13 2017 20:02
Sure. It is related to the promise I mentioned. Providing an array list that is available immediately works.
Kevin Phillips
@phillipskevin
Jul 13 2017 20:18
ok, how is the promise specified?
in your VM
Gregg Roemhildt
@roemhildtg
Jul 13 2017 20:23
I'm passing an object to a component that has a .optionsPromise property
So I can pass either options or optionsPromise
canjs/canjs#3427