repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
facebookreact
unexpected ssr difference warn with svg primitive
Bug
do you want to request a feature or report a bug bug what be the current behavior I ve start recieve this warning about my svg which be use fegaussianblur warning expect server html to contain a matching in what be the expect behavior should be no warning because ther...
facebookreact
pattern for parent initiate fetch of child datum
Question
for performance reason I have a child element whose data be store in its state and only its state instead of be pass up the hierarchal chain use callback pass in prop there then come a time where an action in the parent element dictate that I now need that datum what be the correct pattern for fetch it in the...
facebookreact
test totree on a render array
Bug
I don t know if this be a bug or if I be do it wrong when I have a component that the render return an array in fiber the render return only the first element javascript const wrap child child describe test it render 2 div const render reactte...
facebookreact
return plain string from component render collapse text node on server
Bug
observe this on js import react from react import rendertostre from react dom server const b b console log rendertostre a c this render as abc if you try to hydrate this you ll get the error text content do not match server bc client b ...
facebookreact
bug argument 1 of eventtarget dispatchevent do not implement interface event
Invalid
I have apply a event onmousedown for a element but on firefox 54 0 1 64 bit osx I catch this error title I do a debug and see that it occur at reacterrorutil invokeguardedcallback function when execute the code fakenode dispatchevent evt react 15 6 1 reactdom 15 6 1 os detail ...
facebookreact
ctrl enter keypress only work in firefox
Bug
it doesn t work in chrome ie 11 edge nor chrome on ubuntu these browser report a charcode of 10 and the event dispatcher dismiss it I ve make a pull request with an unobtrusive fix here 10514
facebookreact
reference key within react child map be define
Question
this isn t necessarily a bug or a feature more so ask for why it be implement as it currently be when inside of a component this key be undefined however child key be define and have a value within react child map I realize these point to different instance just demonstrate the difference ex...
facebookreact
server side rendering warning be use uppercase html always use lowercase html tag in react
Bug
do you want to request a feature or report a bug report a bug what be the current behavior whenever I render svg element that be camel case e g on the server side I get the follow warning warning be use uppercase html always use lowercase html tag in react ...
facebookreact
add test for transition
Enhancement
I delete it in because it wasn t test the public api and it be hard to say if it test the path the code actually take we should either add a similar test against public api or an equivalent test to manual fixture see issuecomment 320471544 for detail
facebookreact
onmouseleave strange behaver when have disable child element
Duplicate
bug report here be the demo when contain an disabled button react can trigger onmouseenter correctly in div but onmouseleave not trigger when mouse on the button and move down out of the div I try 15 4 0 15 6 1 in chrome have the issue not sure whether it appear before that
facebookreact
unhandled error be display twice
null
this be a bit weird look at the last log notice how our internal error that we re suppose to just give to the error boundary be say to be uncaught I wonder why it doesn t look like intentional
facebookreact
dispatch blur event on sibling
Question
there be two element on the same level and they be both have onblur handler when one element lose focus in his callback I try to dispatch blur event for the second element and I have maximum call stack size exceed error in console try example in jsfiddle click on second element and press tab button ...
facebookreact
add an image tag inside a react component throw error
Bug
while work on an app I be try to use an image tag I think it be something with my setup but I strip everything down to zero as below index html index js import react from react import reactdom from react dom reactdom render document getelementbyid app ...
facebookreact
throw when host component have a function child
Bug
it surprise I that this doesn t throw neither in stack nor in fiber js reactdom render function document getelementbyid container isn t this always indicative of a mistake
facebookreact
react 16 unstable rendersubtreeintocontainer do not always return an instance
Duplicate
do you want to request a feature or report a bug a bug what be the current behavior I be use the react modal library and test it under react 16 beta it throw an error when I try to close the modal the reason be it call rendersubtreeintocontainer here l156 and expect ...
facebookreact
reactdom render unstable renderintocontainer doesn t return instance if call during an update
Bug
do you want to request a feature or report a bug bug what be the current behavior reactdom render and reactdom unstable rendersubtreeintocontainer no long return create react component instance if the current behavior be a bug please provide the step to reproduce and if possible a...
facebookreact
react 16 server renderer break with style object in prod mode
Bug
there be a bug in the react 16 beta server renderer report by 7rulnik in the react 16 beta thread issuecomment 318231160 where the renderer throw an exception when style be include and node env be production give this file index js const react require react const reactser...
facebookreact
incorrect datum in compositionend event when type korean on ie11
Bug
to reproduce in ie11 on win7 or win10 go to open the developer console switch to the microsoft korean ime standard setting and switch to korean input put the cursor in the contenteditable div and type on a qwerty keyboard this be type as dufma do the same for the input fiel...
facebookreact
uncontrolled radio fix be break master
Bug
I m not sure why but seem to have cause issue in production with we we ll need to either revert or find a way to fix forward right now master be break and if we sync again before fix we ll break thing
facebookreact
make use of reactdebugcurrentframe getcurrentstack reentrant
Enhancement
I realize that the refactor to use reactdebugcurrentframe as a decouple stack frame for error message be not reentrant r127573520 fiber be not reentrant but other renderer might be the synchronous server renderer be atm we should add test for warning between renderer such as call a server render from wi...
facebookreact
dev only require in fb bundle
Bug
I see reactdomfiber prod start with js var invariant require fbjs lib invariant eventlistener require fbjs lib eventlistener react require react warning require fbjs lib warn executionenvironment require fbjs lib executionenvironment require fbjs lib cameli...
facebookreact
fiber infinite recursion in mount lifecycle
Bug
here be an app there be intentionally a bug in this app the app component return this setstate variable and demo call setvariable in componentdidmount and componentwillreceiveprop it shouldn t this be bad user code what this issue raise be a regression behaviour in react 16 compare...
facebookreact
curry onblur handler not trigger anymore when use v15 6 1 in production mode
Bug
do you want to request a feature or report a bug bug what be the current behavior when switch from v15 6 1 s development into production mode the in the example below define curry onblur handler suddenly stop work it seem to have something to do with the number of argume...
facebookreact
multiple click need for non anchor element onclick with padding in safari
Bug
do you want to request a feature or report a bug bug what be the current behavior in mobile safari and some version of desktop safari onclick on any non anchor element require two click to trigger if the element contain multiple comment text node and the click be on the secon...
facebookreact
improve error when you ve forget to extend react component
Enhancement
when you forget to extend react component you get the follow error typeerror can not call a class as a function at classcallcheck null js 7 99 at hello null js 11 5 react internal example it would be nice if in dev you could do a check for component pro...
facebookreact
setstate callback call with null instead of undefined
Bug
do you want to request a feature or report a bug bug what be the current behavior in react v16 the callback function that be an optional parameter to the setstate function be call and pass a value of null previously in react v15 the function be call with a value of undefined th...
facebookreact
react test renderer shallow setstate callback be never call
Bug
do you want to request a feature or report a bug bug follow on from what be the current behavior in node modules react test renderer cjs react test renderer shallow development js the callback second argument to setstate be never call if the current behavior be a bug p...
facebookreact
input with type radio incorrectly trigger onchange handler
Bug
bug if I put several input type radio with same name as in jsfiddle example below onchange handler trigger only once for individual input when mouse click on input happen jsx example try to click on different radio input several time next click have no console log output ...
facebookreact
dangerouslysetinnerhtml in ie11 for svg element
Bug
do you want to request a feature or report a bug bug what be the current behavior when use dangerouslysetinnerhtml of svg element the dom node from the previous render aren t be remove if the current behavior be a bug please provide the step to reproduce and if possible a minima...
facebookreact
do not add unit to css custom property
Bug
do you want to request a feature or report a bug bug what be the current behavior js become html if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of the problem via or similar template what ...
facebookreact
onclick and onchange doesn t fire on radio button on io
Bug
do you want to request a feature or report a bug bug what be the current behavior onclick and onchange doesn t fire on radio button on ios typeerror undefined be not an object evaluate descriptor get call if the current behavior be a bug please provide the step to reproduce a...
facebookreact
react addon update 15 5 2 use object assign
Bug
do you want to request a feature or report a bug undocumented breaking change for ie11 what be the current behavior start react addon update v15 5 the package have be change from depend on an internal file from the react package react lib update js to actually include the full im...
facebookreact
mouseleave event fire unexpectedly when mouse into descendant node with a different react root
Bug
do you want to request a feature or report a bug bug what be the current behavior when mouse into a descendant dom node that have a different react root the mouseleave event on the parent react dom component be fire unexpectedly if the current behavior be a bug please provide the st...
facebookreact
synthetic eventphase doesn t reflect the synthetic phase
Bug
do you want to request a feature or report a bug bug what be the current behavior both onclick and onclickcapture call on bubble phase if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of the problem via or similar templat...
facebookreact
can not t mount text node component
Bug
can not t mount text node component in a child window in ie11 and edge jsx const somecomponent this will be display this will not be display this be the text node that will break the mount this will not be display because the mounting have stop class pop...
facebookreact
no error when element with ref create in another element constructor in dev environment
Bug
when create an element with a ref from inside of a constructor an error be throw in production mode but not in dev mode here be a minimal sample an error only a reactowner can have ref should happen in dev and production mode this be happen in react 15 4
facebookreact
ismounte behavior different with create react class
Bug
do you want to request a feature or report a bug bug what be the current behavior call this ismounte in componentwillunmount in prior version would return true now it return false I believe this be untested behavior before but the new test that be add may check the...
facebookreact
fiber return function from render do not throw
Bug
jsx class foo extend react component render return foo class app extend react component render return foo when app return foo instead of accidentally fiber do not catch this
facebookreact
control input allow dot
Bug
do you want to request a feature or report a bug bug what be the current behavior react allow a dot in a control input that doesn t allow change the value if the value set as a prop be a number if it s a string the issue be not present if the current behavior be a bug please provi...
facebookreact
wrong repo
Enhancement
wrong repo
facebookreact
reacttestutil event dispatch before workinprogress statenode be set
Bug
with the following use the late alpha 10 and jsdom 9 12 0 js const reacttestutil require react dom test util const foo react createelement div null react createelement img src foo jpg reacttestutil renderintodocument react...
facebookreact
yarn prettier run a too long command for os window
Enhancement
cli yarn prettier return error too long command the problem be only on window os check on window 10 x64 cli cmd
facebookreact
implement set unknown attribute
Enhancement
we be currently warn about unknown property in the dom for example if you render js you re go to see a warning from react and foo win t actually turn up in the dom people have want support for custom attribute since forever now that we ve actually be warn for a whole release I ...
facebookreact
how to render object with custom tostring
Question
I m implement a i18n library and would like to render a object with custom tostring like this const i18nobject tostring return xxx render return i18nobject but get the error invariant js 44 uncaught error object be not valid as a rea...
facebookreact
show a warning when value be provide to a checkbox input
Enhancement
do you want to request a feature or report a bug feature what be the current behavior a checkbox input can have a value prop which be most likely ignore it should be check what be the expect behavior I think we should throw a warning if a user provide a value in...
facebookreact
can not find module reactreconciletransaction from reactshallowrenderer js in react test renderer
Bug
do you want to request a feature or report a bug bug what be the current behavior can not find module reactreconciletransaction from reactshallowrenderer js if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of th...
facebookreact
react 16 0 0 alpha 7 do not bundle correctly in a project use rollup
Bug
do you want to request a feature or report a bug bug what be the current behavior when use rollup in a project that import the late react 16 0 0 alpha7 the bundle end up contain both react development js and react production min js and the file size be unnecessarily large my ...
facebookreact
typeerror can not read property firstchild of null at precachechildnode react dom js 6619
Bug
with 15 5 0 rc 1 I get uncaught typeerror can not read property firstchild of null at precachechildnode react dom js 6619 at getnodefrominstance react dom js 6714 at reactdomcomponent trapbubbledeventslocal react dom js 5772 at callbackqueue notifyall react dom js 948 ...
facebookreact
ref be not pass through a hoc
Duplicate
do you want to request a feature or report a bug feature what be the current behavior the parent component of a child component wrap in a hoc can not assign a ref attribute to the child component the ref attribute instead refer to the hoc in order for the parent component to reference t...
facebookreact
react addon create fragment destructure assignment remain in distribute code
Bug
do you want to request a feature or report a bug bug what be the current behavior when run npm run build I get the follow error create an optimize production build fail to compile static js main 6a1ea184 js from uglifyjs syntaxerror name expect react addon crea...
facebookreact
bug update background style ignore backgroundsize
Duplicate
what be the current behavior I have a react component render a with background and backgroundsize style when the user via the interface change the background url the background size style be no long apply here s a fiddle that demonstrate the issue note how click the image conta...
facebookreact
stop mask context
Enhancement
feature return all contextprop available via a wildcard prop this would be helpful for those who want to do shouldcomponentupdate comparison with prop state and context possible solution static contexttype true or static contexttype or static contexttype ...
facebookreact
reactjs not render
Invalid
capture
facebookreact
warn about overwrite react component s instance property updater
Enhancement
do you want to request a feature or report a bug feature what be the current behavior react component silently overwrite instance property updater js base class helper for the update state of a component function reactcomponent prop context updater thi...
facebookreact
fiber check for requestanimationframe throw when react dom be require on the server
Bug
do you want to request a feature or report a bug bug ish what be the current behavior when do server side rendering with react require react dom which transitively require reactdomframeschedule js throw an exception because raf be not define invariant violation react de...
facebookreact
paste text in text box do not fire change event on ie11
Bug
I find a bug in ie11 react version be 15 4 0 pasting text in text box do not fire change event on ie11
facebookreact
fiber investigation what internal have direct dependency on stack module
Question
after some research the follow module in the react codebase have some form of direct dependency on a react stack module ideally we want to move away form use internal module require and use public api require where possible reacttestutil src test reactshallowrenderer js there be a pr already op...
facebookreact
change warn for to suggest an empty array rather than empty string
Bug
do you want to request a feature or report a bug bug what be the current behavior set the value to on a with size 3 do not deselect the currently select option if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of the p...
facebookreact
dynamic rendering of react component
Invalid
in my case I have a list of component name in left side of the window with a sign once I click the sign the component should get display if the list be like component 1 component 2 component 3 component 4 component 5 if my click order be 3 2 5 4 1 the component should re...
facebookreact
problem with click event on ie and edge
Bug
I would like to point out a specific behaviour when use react with ie and edge I be build a user computer chat application where user be present prompt to navigate they through a user journey one of the step be where the user enter a street name postcode and they be present a list of address to choose from the...
facebookreact
unexpected exception on use react perf tool
Bug
I find this exception when try to use react perf tool with component that internally use reactdomserver rendertostaticmarkup js uncaught typeerror can not read property parentid of undefined at at array foreach native at at array foreach native at getwasted ...
facebookreact
bump fbjs to 0 9 x
Enhancement
probably lot of react app depend on babel runtime perhaps directly or maybe indirectly this can problematic though because it can cause such app to depend on two version of core js 1 your babel use react app babel runtime 6 22 0 core js 2 4 0 l9 2 react fbjs 0 8 4 l26 ...
facebookreact
onbeforeinput fire after edge update the dom
Bug
do you want to request a feature or report a bug bug what be the current behavior in edge the onbeforeinput event be fire after edge have already make change to the dom negate the purpose of the event and break the assumption of component build on this event such as draft if the curre...
facebookreact
proptype shape should throw if the object have more property than specify
Duplicate
if I have setup like mycomponent proptype compprop react proptype shape propa react proptype string isrequire propb react proptype string isrequire isrequire when I call it like const propsobj propa propb unwantedprop ...
facebookreact
miss object assign licence please check other
Bug
do you want to request a feature or report a bug bug what be the current behavior miss copyright licence if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of the problem via or similar template see what be the expect behavior ...
facebookreact
react dom server broken build for version 15 4 1
null
do you want to request a feature or report a bug bug what be the current behavior it break the code execution file react dom dist react dom server min js javascript 117 function t n r use strict var o e secret internal do not use or you will be fire n export o react...
facebookreact
delimit dynamic part of the warning message with newline
Enhancement
as propose in issuecomment 271311978 I think we should find the warning where we add a dynamic part to the end like check the render method of and delimit it with two newline this way it s much easy to recognize in the middle of a bunch of error this be a good first issue to contribute...
facebookreact
tutorial link expire
Duplicate
line 19 react docs tutorial tutorial md link to
facebookreact
be instance point to reactinternalinstance reactinternalinstance pointing to instance expect structure
Question
I be play with the example to understand the internal code flow of react s setstate I notice that reactcompositecomponentwrapper object have reference to instance object which in turn have reference to the same screenshot s console reactcompositecomponentwrapper object as reactinternalins...
facebookreact
break link in react tutorial
Bug
do you want to request a feature or report a bug report a bug what be the current behavior break link in the first section of if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of the problem via or similar template n a ...
facebookreact
native event stoppropagation outside of react root cut out react event
Enhancement
we need to host a standalone react component draftjs editor inside a html5 application which will run on other js framework or even plain js or jquery the code of the application be beyond our control we be just a vendor of a component which add some content part of which be this react base editor any...
facebookreact
shorthand css property can cause style inconsistency
Duplicate
I m report a bug what be the current behavior 1 render a host component with a style that contain both a shorthand css property and an over write long form of the property eg overflow and a conflict overflowx and or overflowy property 2 update the host component re ren...
facebookreact
composition event chinese japanese ime problem in control component input textarea
Bug
do you want to request a feature or report a bug both what be the current behavior there be a exist issue 3926 but it be just one of the problem in some kind of browser I have upload the detail demo file test result and temporary solution in react compositionevent t...
facebookreact
able to create new event
Duplicate
I want a feature to be able to extend the syntheticuievent so that I can add my own event when require thank you
facebookreact
textarea onfocus stoppropagation incorrect cursor render on firefox
Bug
what be the current behavior use stoppropagation in an onfocus event on a textarea or its parent cause the cursor to disappear or render at an incorrect location in firefox you can see the vanish cursor at this fiddle there be no issue on chrome and edge but firefox 50 1 0 have this problem...
facebookreact
15 4 break default param behavior on componentdidmount in production build
Bug
do you want to request a feature or report a bug bug what be the current behavior only when node env production null be be pass as first argument to componentdidmount this become an issue when a default param be specify for componentdidmount from the backtrace from the com...
facebookreact
click handler can get call twice in non prod mode
Bug
I think this be a bug that only happen in non prod mode I notice this use the react dropzone library but I think I find a simple use case to reproduce the problem if you check out the fiddle you can see that click handler be call twice even though the element be only click once here be an example sh...
facebookreact
form submit on button type button click
Bug
do you want to request a feature or report a bug report a bug what be the current behavior strange behavior a form be submit when I click a button type button the follow sequence induce this behavior click on button type button call setstate button be tran...
facebookreact
ie10 trigger onchange twice when replace a text selection
Bug
do you want to request a feature or report a bug bug what be the current behavior type text 123 in an input select the whole text type the a key when hit the a key onchange be trigger twice one time event target value be the second time it s a ...
facebookreact
add component stack to the contenteditable warning
Enhancement
feature warn a component be contenteditable and contain child manage by react it be now your responsibility to guarantee that none of those node be unexpectedly modify or duplicate this be probably not intentional it would help heap if I would know which component be cause this
facebookreact
invariant violation when render use both reactdom and reactdomserver
Bug
use both reactdom render and reactdomserver render w cause an invariant violation in react 15 4 1 see console on there be javascript react dom js 18121 warn exception throw by hook while handle onsetchildren invariant violation item must have be set invariant violation item must have be s...
facebookreact
onchange do not work well with ie11 at japanese ime in react 15 4 0
Bug
untitled2 I m try to make a simple text box component with a suggestion feature however in ie 11 there be an event that the japanese ime conversion arbitrarily decide I do not press the enter key I examine it a little by myself but this seem to have occur only in ie 11 it seem that it have...
facebookreact
fail to update dom style attribute
Duplicate
do you want to request a feature or report a bug bug what be the current behavior style attribute be not update correctly when we set padding and paddingtop at the same time and then re render with only padding same issue with border I suppose that it would be the same with m...
facebookreact
ref callback argument be null
Invalid
do you want to request a feature or report a bug a bug what be the current behavior the ref callback get call with null as argument instead of an instance of the component this only occur when you write the component name start with an uppercase character pascalcase if ...
facebookreact
preserve browser input behavior
Bug
this pr close 7328 in ie edge if you set the value of a password input it knock off any of the helper like the unmasker and save password prompt I basically just wrap the bulk of setvalueforproperty in a condition node propname value which be similar to the old ...
facebookreact
number input with defaultvalue do not accept decimal input
Duplicate
do you want to request a feature or report a bug report a bug what be the current behavior when use a number input that have a defaultvalue you can not enter a decimal value when attempt to type a decimal the cursor be move to the beginning of the input this behavior be not observe...
facebookreact
ie11 findparent fail with unable to get property reactinternalinstance of undefined or null reference
Invalid
do you want to request a feature or report a bug bug what be the current behavior exception be throw render stop if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of the problem via or similar template doesn t seem to be determinst...
facebookreact
detect click outside view component in react native
Invalid
I want to compress a view component if I click outside that view be there any way of do this
facebookreact
fiber spill over from child reconciliation
Enhancement
this be spill over from 7707 that I don t plan on do in the initial batch fix text node merging edge case search forward to find the next sibling swap out the end of the text node to the sum of the previous value of the sibling this trick let we avoid back reference have tag include child up...
facebookreact
a group of radio button require all to have defaultchecke attribute to work properly in firefox
Bug
facebookreact
unexpected interleaving of subtree parent lifecycle method
Bug
repro in the example a click handler in the subtree queue an update for both the the subtree and parent component with the follow ordering of lifecycle method parent will update child will update subtree will update child do update parent do update subtree do update if the parent compo...
facebookreact
problem when change value of uncontrolled number input in chrome
Duplicate
do you want to request a feature or report a bug bug what be the current behavior here be jsfiddle just try to edit the default value 2 34 to something else like 3 45 as soon as I insert dot cursor star to jump in input which version of react and which browser os be ...
facebookreact
receive outside event without leave react s system
Duplicate
this be a feature request right now the only way to respond to outside world event be to leave the react s event system and add a native dom listener this be bad since it will require more mental overhead when you have to work with this you need to think about your event listener receive a native event ...
facebookreact
notification index please ignore this issue
Question
how to refer to the dom element within jsx prop without use ref same as class mycomponent extend component constructor prop this state selectedoption option1 getclassname e return e target textconent this state selectedoption select ...
facebookreact
bug false positive plain object warn
Bug
there be a bug in the logic for determine if prop be a plain object this bug result in a false positive flooding the console with hundred of instance of this warning expect prop argument to be a plain object property define in its prototype chain will be ignore the code that s fail be in reactelemen...
facebookreact
react cloneelement this prop child this prop copy the child into the this prop child of child itself
null
please run the js fiddle give above cloneelement copy the child into prop child of the child itself and if the child also render its child use the same method an infinite loop be establish and the browser maximum call stack size be exceed ideally while clone the child property of the prop of the child...
facebookreact
bug miss warning about unknown prop unknown dom property
Invalid
actual miss warning for unknown dompropertie in development miss warning for unknown prop in development expect unknown dompropertie log warning unknown prop log warning affect version software version test react 15 3 1 15 3 0 seem to work as inten...
facebookreact
mouseenter event trigger at disabled form element
Duplicate
do you want to request a feature or report a bug bug what be the current behavior when mouse enter disabled form element trigger mouseenter event but it not trigger mouseleave when mouse leave from the element if the current behavior be a bug please provide the step to repr...
facebookreact
radio button be not correctly check when use multiple list of radio button
Bug
do you want to request a feature or report a bug bug what be the current behavior when there be two list of radio button and they be conditionally show the correct radio button isn t always check in the provide jsfiddle I have create two list and put a button before they to toggle between...
facebookreact
bug onchange fire too often when use range slider
Duplicate
react version 15 3 0 chrome version 52 0 2743 116 m 64 bit current behavior react fire onchange event for with type range even when the browser s input change event do not fire example html js const container document getelementbyid container class app e...