Skip to content

Fix: Reader Position Not Preserved on Theme / Font Size Change#375

Open
devprabhsingh4590 wants to merge 2 commits into
KhalisFoundation:devfrom
devprabhsingh4590:dev
Open

Fix: Reader Position Not Preserved on Theme / Font Size Change#375
devprabhsingh4590 wants to merge 2 commits into
KhalisFoundation:devfrom
devprabhsingh4590:dev

Conversation

@devprabhsingh4590

Copy link
Copy Markdown

Fixed the issue by adding getTopmostElementId to correctly detect the topmost visible text element during scroll and orientation changes.

"-lc++",
);
PRODUCT_BUNDLE_IDENTIFIER = com.WahegurooNetwork.SundarGutka;
PRODUCT_BUNDLE_IDENTIFIER = com.WahegurooNetwork.SundarGutka.prabh;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these changes are pushed by mistake, can you please revert them.

<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason for these changes? If there isn't any change, just position change, can we please revert these too.


const scrollFunc=(e)=> {
const elementId = getTopmostElementId();
const elementId = getBottommostElementId();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devprabhsingh4590 veerji, can you please share some context here, why did we change from topmost element to the bottommost element?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants