Open lanitochka17 opened 2 weeks ago
Triggered auto assignment to @isabelastisser (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
Job added to Upwork: https://www.upwork.com/jobs/~021854637211818328663
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (External
)
Edited by proposal-police: This proposal was edited at 2024-11-07 22:21:35 UTC.
After tapping on "Domains" or "Help" buttons and navigating back with device back button, the buttons remain highlighted
This results in the icon button remaining highlighted after navigating back.
const {isBackground} = useAppState();
useEffect(() => {
if (isBackground) {
Image.clearMemoryCache();
}
}, [isBackground]);
const [cachePolicy, setCachePolicy] = useState('memory');
const {isForeground} = useAppState();
const prevIsForeground = usePrevious(isForeground);
useEffect(() => {
if (isForeground && !prevIsForeground) {
// Set cachePolicy to 'none' temporarily when returning to foreground
setCachePolicy('none');
// Reset to 'memory' after a slight delay to allow re-render with fresh images
setTimeout(() => setCachePolicy('memory'), 500);
}
}, [isForeground, isForeground]);
<Image
onLoad={() => {
// Reset to 'memory'
setCachePolicy('memory');
}}
Let see if we get more ideas to solve this issue.
@parasharrajat, @isabelastisser Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Waiting for more proposals.
Yup. waiting for more proposals.
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@parasharrajat, @isabelastisser Eep! 4 days overdue now. Issues have feelings too...
@parasharrajat What do you think about my proposal?
@parasharrajat, @isabelastisser 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
No new proposals. @truph01 I will share feedback on your proposal in sometime.
@parasharrajat @isabelastisser this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.59-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
"Domains" and "Help" button shouldn´t remain selected after navigating back to app
Actual Result:
After tapping on "Domains" or "Help" buttons and navigating back with device back button, the buttons remain highlighted
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/ef8be3de-8c67-4703-89e0-00c5154d46fb
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @parasharrajat