Skip to content
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

新增 search in sutra 功能的 prev / next / close 按鈕 #59

Closed
chiehan1 opened this issue Jan 6, 2016 · 2 comments
Closed

新增 search in sutra 功能的 prev / next / close 按鈕 #59

chiehan1 opened this issue Jan 6, 2016 · 2 comments

Comments

@chiehan1
Copy link

chiehan1 commented Jan 6, 2016

prev / next 按鈕可以在當下的經的範圍內跳上一個或跳下一個符合搜尋條件的字,跳到的字要顯示在頁面的第一行,這個字除了標紅以外,還要 highlight

當 prev 跳到經文的第一個符合的字,再繼續按 prev 時,不需要跳到經文的最後一個符合的字。
反之亦然,
當 next 跳到經文的最後一個符合的字,再繼續按next 時,不需要跳回經文的第一個符合的字。

close 可以把 search bar 關掉。

@chiehan1 chiehan1 changed the title 新增 search in sutra 功能的 prev / next 按鈕 新增 search in sutra 功能的 prev / next / close 按鈕 Jan 6, 2016
@kmsheng kmsheng assigned chiehan1 and unassigned kmsheng Jan 7, 2016
@kmsheng
Copy link
Contributor

kmsheng commented Jan 7, 2016

@chiehan1 目前在 React Native 在 Text node 裡頭的 Text 不支援查詢相對位置, 以回報給官方 facebook/react-native#5173

@chiehan1
Copy link
Author

因為 #72 , 此 issue 先關閉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants