Chlorine can affect them, but in my experience I've never found it to be an issue.
Your 10 year old may have flaky nails (most kids do) If the nail is flaky, the nails will still flake regardless of whether there's product on them, so it's not the Shellac that's peeling off, but her own natural...