profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/yiminghe/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

yiminghe/async-validator 6724

validate form asynchronous

react-component/time-picker 424

React TimePicker

yiminghe/dom-align 279

Align DOM Node Flexibly

yiminghe/dom-scroll-into-view 141

scroll dom node into view automatically

yiminghe/css-animation 89

make css animation easier

yiminghe/add-dom-event-listener 38

add dom event listener. normalize ie and others

yiminghe/gregorian-calendar 20

gregorian calendar lib on browser and nodejs

yiminghe/gregorian-calendar-format 16

format gregorian-calendar

yiminghe/kison 16

A parser generator for javascript

release graphql/graphql-js

v16.0.0-alpha.4

released time in 4 minutes

issue commentfacebook/react-native

Cannot find module 'node_modules/metro/src/JSTransformer/worker.js'

Hello I had the same issue as you describe. I fixed it by reinstalling node_modules and running : npx react-native start --reset-cache

EdDevs2503

comment created time in 17 minutes

push eventckeditor/ckeditor4

Karol Dawidziuk

commit sha e77942870a26b70fdf64681908789d19e4b170be

fix re-fire print

view details

push time in 35 minutes

push eventckeditor/ckeditor4

Karol Dawidziuk

commit sha 9b51ef0e978529039a3dfb4c9b20387f74008be4

update rev history in print manual test

view details

push time in an hour

push eventckeditor/ckeditor4

Karol Dawidziuk

commit sha 002a0834d50b179573575c0ea91c7731bfbebd22

update rev in tests link

view details

push time in an hour

push eventckeditor/ckeditor4

Karol Dawidziuk

commit sha be63bc46be15478259dfbca94de6a019b0b0145c

clean code

view details

push time in an hour

issue openedckeditor/ckeditor4

Tests failing in Safari 14.1

Type of report

Bug

Provide detailed reproduction steps (if any)

  1. Run test tests/plugins/widget/widgetsintegration#tests%2Fplugins%2Fwidget%2Fwidgetsintegration%20test%20content%20is%20removed%20after%20cutting%20(single%20widget)
  2. Run test tests/plugins/clipboard/drop

Expected result

All the tests are passing.

Actual result

They fail on Safari 14.1.

Other details

  • Browser: 14.1
  • OS: macOS, BrowserStack
  • CKEditor version: 4.16.1

created time in an hour

issue commentfacebook/react-native

[iOS] Failed building app with Hermes enabled

I am facing the same issue with react-native version0.64.1

marf

comment created time in 2 hours

issue commentfacebook/react-native

"VirtualizedLists should never be nested inside plain ScrollViews with the same orientation" error in console for FlatList/SectionList with scrollEnabled={false}

I built a wrapper component do un-virtualize the list when scrollEnabled={false} to get around this, eg:

import React from 'react';
import { FlatListProps, FlatList as NativeFlatList, View } from 'react-native';

// Custom FlatList that doesnt try to virtualize when scrollEnabled={false}
// Do this to avoid "VirtualizedLists should never be nested inside plain ScrollViews with the same orientation" error in console
export default function FlatListWrapper<ItemT>(props: FlatListProps<ItemT>) {
  if (!props.scrollEnabled) {
    return (
      <View style={props.style}>
        {!!props.ListHeaderComponent && !!props.data && props.data.length > 0 && props.ListEmptyComponent}
        {!!props.ListEmptyComponent && (!props.data || props.data.length === 0) && props.ListEmptyComponent}
        {!!props.data && props.data.map((item: any, index) => <View key={!!props.keyExtractor ? props.keyExtractor(item, index) : `${index}`}>
          {!!props.renderItem && props.renderItem({
            item, index, separators: {
              highlight: () => null,
              unhighlight: () => null,
              updateProps: (select: 'leading' | 'trailing', newProps: any) => null
            }
          })}
        </View>)}
        {!!props.ListFooterComponent && !!props.data && props.data.length > 0 && props.ListFooterComponent}
      </View>
    );
  }
  return <NativeFlatList {...props} />;
}
JeremyBradshaw7

comment created time in 2 hours

issue commentfacebook/react

React 18: react-router@v5 is breaking in the Strict Mode (strict effects)

We’re not yet asking application authors to try the release.

People won't listen (like me).

For example, TikTok has upgraded to React 18 already (https://twitter.com/Brooooook_lyn/status/1402632529270632456?s=20)

Since people want to try out fresh things immediately, I think a list of what is blocking people from upgrading is helpful and can reduce other one's time-wasting.

Jack-Works

comment created time in 3 hours

push eventckeditor/ckeditor4

Karol Dawidziuk

commit sha ecda73789b9d5bc147965be1e041eec0cabc609d

clean code

view details

push time in 3 hours

fork alexmingoia/twitter-types

This library treats the Twitter JSON API in the Haskell way.

fork in 4 hours

issue openedfacebook/react

Bug:

<!-- Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest version of the relevant React packages to make sure your issue has not already been fixed. -->

React version: 17.0.2

Steps To Reproduce

  1. Render a button and a scrollable list with a height of 150px. The list should contain an array of 15 items, making sure to set the key prop of each item to unique values.
  2. Observe that you can see around 8 of the original 15 list items in view.
  3. On clicking the button, insert 15 more items into the beginning of the list, once again making sure to set the key prop of each item to unique values.
  4. Observe that you can now see around 8 of the new list items in view.

<!-- Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Issues without reproduction steps or code examples may be immediately closed as not actionable. -->

Link to code example: https://codesandbox.io/s/keen-sound-7q5yf?file=/src/App.js

<!-- Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve. -->

The current behavior

If the scroll position is at the very top of a list, after inserting new items at the beginning of the list, the new items are now visible.

The expected behavior

If the scroll position is at the very top of a list, after inserting new items at the beginning of the list, the original items should remain visible.

NOTE: When the scroll position is 1 or more pixels from the top of a list, after inserting new items at the beginning of the list, the new items remain visible as expected.

created time in 4 hours

issue commentfacebook/react

React 18: react-router@v5 is breaking in the Strict Mode (strict effects)

Hi! Can you clarify what would be the purpose of an issue like this? We’re not yet asking application authors to try the release.

The Alpha is focused on the library maintainers, and there will be a several months period before the Beta. It’s expected things would need adjustment early on, and I’m worried making a list of popular libraries before the authors even got a chance to try the release might be a bit premature.

We are committed to working with library authors and helping find recommendations where they’re unclear, including on this issue tracker. I’m just not sure that making a public list is the right way to kick this off.

What do you think?

Jack-Works

comment created time in 4 hours

pull request commentfacebook/react-native

[Android] Allows to set individual (left,top,right,bottom) dotted/dashed borders

Hi @RSNara , any update on this PR?

fabriziobertoglio1987

comment created time in 4 hours

issue commentfacebook/react-native

Could not GET 'https://dl.bintray.com/umsdk/release/com/facebook/react/react-native/maven-metadata.xml'

If someone encounters this problem, please let me know how to solve it. Thank you

iamfindingway

comment created time in 5 hours

issue closedfacebook/react-native

Could not GET 'https://dl.bintray.com/umsdk/release/com/facebook/react/react-native/maven-metadata.xml'

receive Forbidden!

Description

Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest React Native release to make sure your issue has not already been fixed: https://reactnative.dev/docs/upgrading.html

React Native version:

Run react-native info in your terminal and copy the results here.

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

Expected Results

Describe what you expected to happen.

Snack, code example, screenshot, or link to a repository:

Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

closed time in 5 hours

iamfindingway

issue openedfacebook/react-native

Could not GET 'https://dl.bintray.com/umsdk/release/com/facebook/react/react-native/maven-metadata.xml'

receive Forbidden!

Description

Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest React Native release to make sure your issue has not already been fixed: https://reactnative.dev/docs/upgrading.html

React Native version:

Run react-native info in your terminal and copy the results here.

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

Expected Results

Describe what you expected to happen.

Snack, code example, screenshot, or link to a repository:

Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

created time in 5 hours

issue openedfacebook/react

React 18: react-router@v5 is breaking in the Strict Mode (strict effects)

https://github.com/ReactTraining/react-router/issues/7870

I do not have permission to post https://github.com/reactwg/react-18/discussions. Please open and pin a new issue in that repo to list all widely-used library that does not work with React 18 or need special handling.

created time in 5 hours

issue commentfacebook/react-native

"VirtualizedLists should never be nested inside plain ScrollViews with the same orientation" error in console for FlatList/SectionList with scrollEnabled={false}

Have you fixed it? I got it too. Everything worked well, but it shows errors in the console.

JeremyBradshaw7

comment created time in 5 hours

issue commentfacebook/react-native

TextInput select and edit menu labels don't follow system locale on iOS

I am having this issue now on one of my app.

jsamr

comment created time in 6 hours

issue commentfacebook/react

Misleading error description when using wrong useRef

This issue seems to be solved by https://github.com/facebook/react/pull/18031

madroneropaulo

comment created time in 6 hours

MemberEvent

release jest-community/vscode-jest

v4.0.3

released time in 7 hours

startedjwasham/coding-interview-university

started time in 8 hours

PR opened facebook/react

Dependabot/npm and yarn/fixtures/dom/handlebars 4.7.7

<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.

Before submitting a pull request, please make sure the following is done:

  1. Fork the repository and create your branch from master.
  2. Run yarn in the repository root.
  3. If you've fixed a bug or added code that should be tested, add tests!
  4. Ensure the test suite passes (yarn test). Tip: yarn test --watch TestName is helpful in development.
  5. Run yarn test --prod to test in the production environment. It supports the same options as yarn test.
  6. If you need a debugger, run yarn debug-test --watch TestName, open chrome://inspect, and press "Inspect".
  7. Format your code with prettier (yarn prettier).
  8. Make sure your code lints (yarn lint). Tip: yarn linc to only check changed files.
  9. Run the Flow type checks (yarn flow).
  10. If you haven't already, complete the CLA.

Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html -->

Summary

<!-- Dependabot npm and yarn fixtures dom handlebars 4.7.7 -->

+35 -4

0 comment

3 changed files

pr created time in 10 hours

PR opened facebook/react

Dependabot/npm and yarn/fixtures/dom/hosted git info 2.8.9

<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.

Before submitting a pull request, please make sure the following is done:

  1. Fork the repository and create your branch from master.
  2. Run yarn in the repository root.
  3. If you've fixed a bug or added code that should be tested, add tests!
  4. Ensure the test suite passes (yarn test). Tip: yarn test --watch TestName is helpful in development.
  5. Run yarn test --prod to test in the production environment. It supports the same options as yarn test.
  6. If you need a debugger, run yarn debug-test --watch TestName, open chrome://inspect, and press "Inspect".
  7. Format your code with prettier (yarn prettier).
  8. Make sure your code lints (yarn lint). Tip: yarn linc to only check changed files.
  9. Run the Flow type checks (yarn flow).
  10. If you haven't already, complete the CLA.

Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html -->

Summary

<!-- it hadn't been solved-->

+29 -3

0 comment

3 changed files

pr created time in 10 hours

PR opened ckeditor/ckeditor4

Fix: Correct open Print and Preview on FF

What is the purpose of this pull request?

Bug fix

Does your PR contain necessary tests?

All patches that change the editor code must include tests. You can always read more on PR testing, how to set the testing environment and how to create tests in the official CKEditor documentation.

This PR contains

  • [ ] Unit tests
  • [x] Manual tests

Did you follow the CKEditor 4 code style guide?

Your code should follow the guidelines from the CKEditor 4 code style guide which helps keep the entire codebase consistent.

  • [x] PR is consistent with the code style guide

What is the proposed changelog entry for this pull request?

* [#4444](https://github.com/ckeditor/ckeditor4/issues/4444): Fixed: [Print](https://ckeditor.com/cke4/addon/print) / [Preview](https://ckeditor.com/cke4/addon/preview) Print and Preview are not opened correctly on FF due to cross-origin.

What changes did you make?

FF opens the preview in a separate window to avoid an anchor problems. Unfortunately, this problem persists even without this fix. Using a section that uses fixDomain fixed the preview problem. Additionally, I added a function awaiting to complete status of the document in order to be able to print it correctly.

Which issues does your PR resolve?

Closes #4444.

+104 -1

0 comment

7 changed files

pr created time in 11 hours

push eventckeditor/ckeditor4

Karol Dawidziuk

commit sha aeaa5d46a6ee2c2ca0a6f72753d5980c822cd196

revert changes

view details

push time in 11 hours