components icon indicating copy to clipboard operation
components copied to clipboard

Md-Chips Not rendering on iOS 10.3.3 (iPad)

Open kkotak opened this issue 9 years ago • 2 comments

Bug, feature request, or proposal:

MdChips don't show up at all on iPad.

What is the expected behavior?

That they work on iOS

What is the current behavior?

Chips don't render at all.

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue. Plunker template: https://goo.gl/DlHd6U I can't get Plunker template to load at all. Here's the code snippet I use. ` <md-chip-list #testChips>

<md-chip *ngFor="let color of selectedColors;let i=index" removable="true" (remove)="selectedColors.splice(i,1)">{{color}}
  <md-icon mdChipRemove>cancel</md-icon>
</md-chip>

<input MdChipInput placeholder="Type here to add chips" (mdChipInputTokenEnd)="addChip($event)" [mdChipInputFor]="testChips" [mdChipInputAddOnBlur]="true" [mdChipInputSeparatorKeyCodes]="[13, 188]" [mdAutocomplete]="testAC" [formControl]="testControl"
/>

<md-autocomplete #testAC="mdAutocomplete">
  <md-option *ngFor="let color of getFilteredVals(testControl.value)" [value]="color">
    {{color}}
  </md-option>
</md-autocomplete>

`

What is the use-case or motivation for changing an existing behavior?

To make chips work on ios touch devices.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

_                      _                 ____ _     ___

/ \ _ __ __ _ _ | | __ _ _ __ / | | | | / △ \ | ' \ / _ | | | | |/ _ | '| | | | | | | / ___ | | | | (| | || | | (| | | | || | | | // __| ||_, |_,||_,|| _||| |___/ @angular/cli: 1.3.2 node: 6.9.5 os: darwin x64 @angular/animations: 4.3.5 @angular/cdk: 2.0.0-beta.10 @angular/common: 4.3.5 @angular/compiler: 4.3.5 @angular/compiler-cli: 4.3.5 @angular/core: 4.3.5 @angular/flex-layout: 2.0.0-rc.1 @angular/forms: 4.3.5 @angular/http: 4.3.5 @angular/material: 2.0.0-beta.10 @angular/platform-browser: 4.3.5 @angular/platform-browser-dynamic: 4.3.5 @angular/platform-server: 4.3.5 @angular/router: 4.3.5 @angular/cli: 1.3.2 @ngtools/webpack: 1.6.2

Browsers Latest Chrome and Safari

Is there anything else we should know?

The code above works on Android and also on iOS simulator on Mac.

kkotak avatar Sep 06 '17 23:09 kkotak

Apologies. The issue was on my end. Closing.

kkotak avatar Sep 07 '17 00:09 kkotak

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.