Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: refactor table to remove custom elements #689

Merged
merged 3 commits into from Apr 10, 2019

Conversation

mikerodonnell89
Copy link
Member

(possibly) fixes #396

can't reproduce the issue on my machine so we will have to ask around and see if this fixes it.

selector: 'fd-table-body',
// TODO to be discussed
// tslint:disable-next-line:component-selector
selector: '[fd-table-body]',
templateUrl: './table-body.component.html'
})
export class TableBodyComponent {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will fix the issue good stuff

These components should be directives though, no? Files should be renamed as well in that case

</thead>
<ng-content select="fd-table-body"></ng-content>
<ng-content select="thead"></ng-content>
<ng-content select="tbody"></ng-content>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add an ng-content for custom stuff? might as well

@MattL75
Copy link
Contributor

MattL75 commented Apr 10, 2019

as mentioned I think you can remove all the css in the tables scss file

Copy link
Contributor

@MattL75 MattL75 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blocking till the date picker fix is out

@mikerodonnell89 mikerodonnell89 merged commit 0db7d4d into master Apr 10, 2019
@MattL75 MattL75 deleted the bug/#396-firefox-crash branch April 12, 2019 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<tr> in fd-table causes Firefox tab to crash
2 participants