-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Flatlist does not show refresh activity programmably after a user refresh #17734
Comments
it seems that it's not directly related to Flatlist, SectionList seems to have the same issue.
Same issue as Flatlist. |
@vonovak unfortunately, it does not fix this issue. This is how I test it: Copy the changed line from that PR (just 1 line of code) to my project's local file of I debugged into it a little bit (first time debugging using xcode, surprised to see how hard to display a variable value in xcode),
in normal case: I'm sorry I'm not an experienced xcode developer, if someone can guide me how to debug into it, I might find out how the value of |
Maybe.....but that PR was closed already. |
if I make |
Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version? I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer. |
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
mkdirenv@gmail.com
Domain salmanwaheed.info has exceeded the max emails per hour (187/150 (124%)) allowed. Message will be reattempted later
…------- This is a copy of the message, including all the headers. ------
Received: from o9.sgmail.github.com ([167.89.101.2]:56991)
by box1177.bluehost.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.89_1)
(envelope-from <bounces+848413-a7b0-hello=salmanwaheed.info@sgmail.github.com>)
id 1epQWC-003Jk4-CL
for hello@salmanwaheed.info; Fri, 23 Feb 2018 20:29:00 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;
h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=7TJJktLbE2Xr/nxVqrYoN+aSQP8=; b=GrTbqpszNvywcGNG
H2aEWo6Mq36WxDVW+Bm1gelY7s6le9dsrdhpYoCW0IgI5RF5jMMBxDwwgPM6zZk9
yZ38VuNLV7JpZ2+z96eWSGRIgm0j9Ptf0Q8sqjIAbtIX/bNauf6MNEyrm6LTRMBT
kHwvFudLgGUnUOeG2tV4/GfOegc=
Received: by filter0039p1las1.sendgrid.net with SMTP id filter0039p1las1-18751-5A90DBF1-1
2018-02-24 03:28:49.112846096 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17])
by ismtpd0004p1iad2.sendgrid.net (SG) with ESMTP id xIsGSnxNQTeTCBmndEPWMQ
for <hello@salmanwaheed.info>; Sat, 24 Feb 2018 03:28:48.961 +0000 (UTC)
Date: Sat, 24 Feb 2018 03:28:49 +0000 (UTC)
From: React Native Bot <notifications@github.com>
Reply-To: facebook/react-native <reply@reply.github.com>
To: facebook/react-native <react-native@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <facebook/react-native/issue/17734/issue_event/1490267765@github.com>
In-Reply-To: <facebook/react-native/issues/17734@github.com>
References: <facebook/react-native/issues/17734@github.com>
Subject: Re: [facebook/react-native] Flatlist does not show refresh activity
programmably after a user refresh (#17734)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a90daaba56e5_42802ab0468a6ecc42658f";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: react-native-bot
X-GitHub-Recipient: salmanwaheed
X-GitHub-Reason: subscribed
List-ID: facebook/react-native <react-native.facebook.github.com>
List-Archive: https://github.com/facebook/react-native
List-Post: <mailto:reply@reply.github.com>
List-Unsubscribe: <mailto:unsub+00ef1b386d6724ec80e1e3b302525726f09d8ce8cf5e28af92cf0000000116a89cab92a169ce115f12ee@reply.github.com>,
<https://github.com/notifications/unsubscribe/AO8bOM1B8TAjQZ8aEovX-AGuUJTERti2ks5tX4CrgaJpZM4RsTFc>
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: hello@salmanwaheed.info
X-SG-EID: 92ws1MVnlto3blxqXlf5goB0ee0kdDGWR6vcWx8d64+jkDOn2woHKV+CbC4v0nboTdx1zugWiNSY2t
Kh2DHHfeN1rmQcl7p1V8xKWo1m+DMUEX8t6yssVgqPc2mboHq/8pyWNfUSPEo0Q0DwOEj2h8Nl/GXU
6+B91JBrp+Tj7EKe8S7LH574SJCDMth59HLO2uPjWEkffXz4R90T1cuswG5UUi411sETkIfeutZNth
M=
X-Spam-Status: No, score=-0.0
X-Spam-Score: 0
X-Spam-Bar: /
X-Ham-Report: Spam detection software, running on the system "box1177.bluehost.com",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
root\@localhost for details.
Content preview: Closed #17734. -- You are receiving this because you are subscribed
to this thread. Reply to this email directly or view it on GitHub: #17734 (comment)
[...]
Content analysis details: (-0.0 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[URIs: github.com]
-0.5 SPF_PASS SPF: sender matches SPF record
-0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
domain
1.3 HTML_IMAGE_ONLY_24 BODY: HTML: images with 2000-2400 bytes of words
0.0 HTML_MESSAGE BODY: HTML included in message
2.5 DCC_CHECK No description available.
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
domain
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid
-1.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4)
[167.89.101.2 listed in wl.mailspike.net]
-0.8 RCVD_IN_MSPIKE_WL Mailspike good senders
-1.5 AWL AWL: Adjusted score from AWL reputation of From: address
X-Spam-Flag: NO
----==_mimepart_5a90daaba56e5_42802ab0468a6ecc42658f
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #17734.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#17734 (comment)
----==_mimepart_5a90daaba56e5_42802ab0468a6ecc42658f
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<p>Closed <a href="#17734" class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="291443438" data-permission-text="Issue title is private" data-url="#17734">#17734</a>.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="#17734 (comment)">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AO8bOJabhIQyjXvptvI7drPixs02bGLnks5tX4CrgaJpZM4RsTFc">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AO8bOKiGYu324lj904Xha9IEaD1r_IN4ks5tX4CrgaJpZM4RsTFc.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="#17734 (comment)"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/facebook/react-native","title":"facebook/react-native","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/facebook/react-native"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Closed #17734."}],"action":{"name":"View Issue","url":"#17734 (comment)"}}}</script>
----==_mimepart_5a90daaba56e5_42802ab0468a6ecc42658f--
|
This bug still exists in 0.55.3. Could you @react-native-bot reopen it? |
@flyingxu Here is my work around.
|
@shahchaitanya Thanks, and my workaround is more direct:
It seems dangerous at the first sight, but here in my app it runs beautifully |
@flyingxu Your solution is correct. But it's better practise not to update node_modules. Because we don't usually commit node_modules. |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS High Sierra 10.13.3
Node: 6.11.3
Yarn: 0.26.1
npm: 5.8.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.3 => 0.55.3
Target Platform: iOS (11.2)
Steps to Reproduce
(Write your steps here:)
react-native init
cmd and change the app.js as the link below:Expected Behavior
The refresh activity shows, just as in the step 2's result.
(Write what you thought would happen.)
Actual Behavior
The refresh activity does not show, but there is a very slight movement of the flatlist
(Write what happened. Add screenshots!)
Reproducible Demo
https://snack.expo.io/SJjZfR8rG
(Paste the link to an example project and exact instructions to reproduce the issue.)
1: click "Click to Refresh"
2: click "Click to Stop"
3: slide down to refresh
4: click "Click to Stop"
5: click "Click to Refresh" again
The text was updated successfully, but these errors were encountered: