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

[DataTable] example code of DataTable #5483

Closed
jony666666 opened this issue Jan 17, 2020 · 2 comments
Closed

[DataTable] example code of DataTable #5483

jony666666 opened this issue Jan 17, 2020 · 2 comments

Comments

@jony666666
Copy link
Contributor

jony666666 commented Jan 17, 2020

Bug report

Steps to reproduce

  1. Go to '/material-components-web/packages/mdc-data-table/'
  2. Click on 'README.md'
  3. Scroll down to 'Variants:Data table with row selection'
  4. See error at <svg class="mdc-checkbox__checkmark" viewbox="0 0 24 24">

Actual behavior

the viewbox attribute dosen't work , the style of checkbox is broken .

Your Environment:

Software Version(s)
MDC Web -
Browser Safari 13.04/FireFox 72.0.1
Operating System macOS 10.15.2

Additional context

Webpack/SASS/Vue

Possible solution

this svg attribute seems to be case-sensitive, i replaced viewbox with viewBox and solved it.

@asyncLiz
Copy link
Contributor

Thanks for the issue! Looks like it also needs to be updated in the component test.

Would you be willing to open a PR to fix it?

@asyncLiz
Copy link
Contributor

Fixed in #5493

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants