Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Chips: Improve clarity of documentation regarding externally managing chip elementsΒ #2891

Closed
@coleweinman

Description

Bugs

The MDCChipSet.addChip() function is broken in 0.36.0.

0.36.0: https://codepen.io/coleweinman1/pen/YvGXZx
0.35.0: https://codepen.io/coleweinman1/pen/XYjbam

What MDC Web Version are you using?

0.36.0

What browser(s) is this bug affecting?

Chrome 67

What OS are you using?

Windows 10

What are the steps to reproduce the bug?

  1. Create a MDCChipSet
  2. Invoke the MDCChipSet.addChip() function

What is the expected behavior?

A chip to be added to the chip set

What is the actual behavior?

An error is given:
Uncaught TypeError: Cannot read property 'querySelector' of undefined

Any other information you believe would be useful?

After reverting back to 0.35.0, this error doesn't occur.

Metadata

Assignees

No one assigned

    Labels

    Unresolved (Archived)Open and unresolved issues and PRs that were closed due to archiving the repository.backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions