dsuare1

Results comments of dsuare1

I had a similar issue to this with an absolutely positioned Bootstrap dropdown inside the DragSource element. I was seeing some odd behavior with the preview of the DragSource where,...

I ran across this same issue recently; I was using the component and noticed that it appended a `btn-secondary` class which overrode my class of `btn-primary` because of the way...

@TheSharpieOne I'm not using either of those ``s you mentioned above; I'm using `` straight from the docs, and that is getting the classes applied.

@TheSharpieOne Thanks! That did the trick; I appreciate your replies. I'm still fairly new to React development, so I wasn't unaware of the potential problems from using `componentDidMount`; I haven't...

To expand on @acconrad's answer, I included the Rails helper `csrf_token: form_authentication_token` as a _prop_ on the component itself, rather than a separate entity on the Component; so: `` And...

Good catch @abhishekover9000, and thanks for the clarification @BookOfGreg; since posting this, I've actually gone in a different direction for getting the proper token in there; like many, I'm using...

I'm quite new to implementing React into a Rails app (been working on it for 1 day so far, lol) but what I notice is that when providing `{ prerender:...

Thanks for your response @BookOfGreg; there are a few related questions on StackOverflow, but none of them helped me arrive at a solution. 1. There are no issues in the...

@BookOfGreg Yes, calling `ReactRailsUJS.mountComponents()` manually in the console, once the page has loaded, does work and results in the component rendering. But I've read through 762 and the solution in...

@BookOfGreg Thanks for the help! You helped me get unblocked and keep my development moving forward. I'll keep an eye out for when / if this fix comes through, but...