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

UIP-1655 Dom.foreignObject doesn't exist #27

Closed
kasperpeulen opened this issue Nov 6, 2016 · 2 comments
Closed

UIP-1655 Dom.foreignObject doesn't exist #27

kasperpeulen opened this issue Nov 6, 2016 · 2 comments

Comments

@kasperpeulen
Copy link

  • Issue Type: [BUG]
  • over_react Version(s): 1.2.0

The foreignObject svg tag doesn't seem to be available in over-react. Typing dom.foreign doesn't give any completion.

Great lib btw!

FYI: @greglittlefield-wf @aaronlademann-wf @jacehensley-wf @clairesarsam-wf @joelleibow-wf

@rmconsole3-wf
Copy link
Contributor

It looks like you have not included any tickets in the title of this issue. Please create a ticket for this issue, or click here to have Rosie create one for you.

@rm-astro-wf rm-astro-wf changed the title Dom.foreignObject doesn't exist UIP-1655 Dom.foreignObject doesn't exist Nov 6, 2016
@greglittlefield-wf
Copy link
Contributor

Thanks for catching this! Sorry about that.

We'll go through and make sure all the supported elements/attributes in React are available.

In the meantime, you can work around the issue with the following:

import 'package:over_react/over_react.dart';
import 'package:react/react_client.dart';

final _foreignObject = new ReactDomComponentFactoryProxy('foreignObject')
SvgProps foreign() => new SvgProps(_foreignObject);

clairesarsam-wf pushed a commit to clairesarsam-wf/over_react that referenced this issue Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants